Hi there everyone,
I’ve been working my way through creating a custom app with a handful of modules. All going well so far but I’ve hit something I can’t solve.
How to correctly iterate on the response
"response": {
"iterate": {
"container": "{{body.transitions.fields)}}"
},
"output": {
"label": "{{item.name}}",
"name": "{{item.name}}",
"value": "{{item.fieldId}}"
}
}
If response
{
"transitions": [
{
"id": "11",
"name": "Terminated",
"opsbarSequence": 20,
"fields": {
"customfield_15309": {
"required": false,
"name": "Financial date of termination",
"fieldId": "customfield_15309",
},
"customfield_14824": {
"required": false,
"name": "Date of last working day",
"fieldId": "customfield_14824",
},
"customfield_14892": {
"required": false,
"name": "Redirect only new emails to",
"fieldId": "customfield_14892",
},
"customfield_22900": {
"required": false,
"name": "Transfer Google Drive",
"fieldId": "customfield_22900",
},
"customfield_22800": {
"required": false,
"name": "Transfer all emails",
"fieldId": "customfield_22800",
}
}
}
]
}