Hello! I am trying to set up a REST Call Event Action. The idea here is that if a record is changed for a particular object in IFS, this should result in a trigger that is recognised by Workato which updates the corresponding object in Creatio.
The fields that trigger this are DESCRIPTION and ORGANIZATION_ID. This means I have four fields OLD:DESCRIPTION, OLD:ORGANIZATION_ID, NEW:DESRIPTION, NEW:ORGANIZATION_ID. I create the following validated Payload:
{
"old": {
"description": "{{OLD:DESCRIPTION}}",
"organization_id": "{{OLD:ORGANIZATION_ID}}"
},
"new": {
"description": "{{NEW:DESCRIPTION}}",
"organization_id": "{NEW:ORGANIZATION_ID}}"
}
}
I then set up a recipe in Workato using this as the Payload schema. I map Description to the corresponding object and field in Creatio. I then test this by creating a new record which has description as ‘Test’. However, the output to Creatio always ends up being the literal:
‘{{NEW:DESCRIPTION}}’ instead of the actual value ‘Test’. Am I setting up my JSON incorrectly?