Unresolved variable in Service callout

Hi,

I am trying to use “myParam” variable in service callout policy.

Here is what I tried:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AssignMessage async="false" continueOnError="false" enabled="true" name="AM-SetScope">
    <DisplayName>AM-SetScope</DisplayName>
    <Properties />
    <Set>
        <variable name="myParam">paramValue</variable>
    </Set>
    <IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables>
    <AssignTo />
</AssignMessage>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ServiceCallout async="false" continueOnError="false" enabled="true" name="SC-Call">
    <DisplayName>SC-Call</DisplayName>
    <Properties />
    <Request clearPayload="false" variable="req">
        <IgnoreUnresolvedVariables>false</IgnoreUnresolvedVariables>
        <Set>
            <FormParams>
                <FormParam name="param">concat('abc',{myParam},'xyz')</FormParam>
            </FormParams>
            <Verb>POST</Verb>
        </Set>
    </Request>
    <Response>CalloutResponse</Response>
    <HTTPTargetConnection>
        <URL>https://{URL}</URL>
    </HTTPTargetConnection>
</ServiceCallout>

Can you please help?

@dchiesa1 , can you please help?

Can you share the output you’re getting when doing this and what your expected output is