Thanks again Philip. Your answer helped me a lot. Currently, I still get an error message when testing the action on step 6. Resolve request body template:
{
"message": "Substitution values invalid in action config. Reference ${input.emergencyGroupName} evaluated to null when attempting to render at BodyTemplate[line 2, column 13] A common reason for this error is needing to prepend the variable with 'input.' or 'credentials.'",
"code": "invalid.substitution",
"status": 400,
"messageParams": {},
"contextId": "9166f5bf-08c7-4a92-b69c-0844895ff8ec",
"details": [
{
"errorCode": "ACTION.PROCESSING"
}
],
"errors": []
}
I hope I can still solve this.
------------------------------
Thomas Repking
Canada Life Group Services Limited
------------------------------
Original Message:
Sent: 05-13-2022 05:32
From: Philip Thys
Subject: Activate or deactivate an #emergency group by call
Hi Thomas
I've added the fields you need to enter into the action in the attached doc, under request body template ensure the json looks like the text at the bottom.
Kind Regards
------------------------------
Philip Thys
British Telecommunications PLC
Original Message:
Sent: 05-13-2022 05:09
From: Thomas Repking
Subject: Activate or deactivate an #emergency group by call
Thank You, Philip. Very much appreciate Your help but I´m not familiar with using JSON, unfortunately. I´m trying to find someone in my company that could help me, but was not successful up to now.
------------------------------
Thomas Repking
Canada Life Group Services Limited
Original Message:
Sent: 05-12-2022 03:46
From: Philip Thys
Subject: Activate or deactivate an #emergency group by call
Hi Thomas
We have the same requirement and have the following solution
Check schedule group in main flow for emergency
Route to Audio when emergency active
Switch on/off emergency via separate flow containing a pin code (request loops 3 times)
The data action includes the IVR ID, Emergency group name and ID, Emergency Flow ID I've attached the JSON
------------------------------
Philip Thys
British Telecommunications PLC
Original Message:
Sent: 05-11-2022 10:35
From: Thomas Repking
Subject: Activate or deactivate an #emergency group by call
Hi, I created a small flow to activate or deactive an emergency group by calling a certain number. I left the audios in the flow to see the route the call takes. Depending on the status of the emergency group it should activate or deactive the group with the next call. The calls go down audio 1 and 2 meaning the status gets recognized and after the decision the call goes accorgingly to audio 5 or 9. But the PUT data action does not work as the calls go next to audio 7 or 11. Can anyone tell me, what I need to do to get the PUT data action working?
#ArchitectureandDesign
------------------------------
Thomas Repking
Canada Life Group Services Limited
------------------------------