Create ServiceNow Ticket From IDN

Hi,

I am trying create service now ticket on Identity name change and test workflow. How do I send variables to Service Now ticket. If I use Get Identity search is failing with error Identity doesn’t exist and If I directly try to send the variables in request body “requested_for.$”: “$.trigger.attributes.id”,“requested_for_agency.$”: “$.trigger.attributes.company” its taking as null values. If I try to add these in query parameters its failing with error

{
"body": {
"error": {
"detail": "TypeError: Cannot read property \"variables\" from undefined (sys_ws_operation.xxxxxx.operation_script; line 19)",
"message": "Cannot read property \"variables\" from undefined"
},
"status": "failure"
},

This is resolved. Variables format is corrected.