Using Extract Message policy and using in Assign Message Policy

In Extract Message Policy if we are extracting only the query param value

request

extracted

{singleValue}

And in Assign Message usage will be as below to create the target URL

TargetPathSuffix

url1/url2/url3/v1/url3/{extracted.singleValue}

In the Trace its updates like below for Value

http://XXX.YYY/hardcoded1/hardcoded2/%7Bextracted.singleValue%7D'

Why spl character with %7Bextracted.singleValue%7D listed information gets appended to Value than expected value was to have the value of query updated

http://XXX.YYY/hardcoded1/hardcoded2/MyStatus'

GET is something like below

https:////requiredUrl?stat=MyStatus

Hi @Abiram Radhakrishnan,

Instead of in assign message policy use message template . The curly braces are not supposed by in assign message policy.

Here is the code for assign message policy.

<AssignVariable>
        <Name>TargetPathSuffix</Name>
        <Template>http://XXX.YYY/hardcoded1/hardcoded2/{extracted.singleValue}</Template>
    </AssignVariable>

you can see my trace session screenshot also.