Rather than POSTing a static date in SOAP request <fromDate xsi:type="xsd:string">2022-01-01</fromDate>
I am POSTing a relative date in the format below in SOAP request. It works perfectly in SOAPUI but fails in PowerAutomate flow. Any idea as to why or an alternative to my issue.
<fromDate xsi:type="xsd:string">${=def now = new Date();now.format("yyyy-MM-dd")}</fromDate>