Issue referencing variable in http request

Hi, I am having an issue with referencing the first variable here - {
“requestType”: “GRANT_ACCESS”,
“requestedFor”: [
“{{$.trigger.requestedFor.id}}”
],
“requestedItems”: [
{
“comment”: "Requesting cost center ",
“id”: “{{$.defineVariable.entId}}”,
“type”: “ENTITLEMENT”
}
]
}

The second variable gets referenced correctly and I also have tried defining the first variable and then referencing it but that does not work either

Hi @saniaf
It may much more easy if you can give more details on the usecase or what you are trying to achieve.

Thanks.

Hi @saniaf ,

Can you share high-level steps of your workflow including the trigger thats being used.

Also, if you are using above snippet in a loop, do share the loopInput and loopContext values

Thanks,
Shailee

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.