EOS Spain S.L.
Original Message:
Sent: 05-29-2024 12:57
From: Saugort Dario Garcia
Subject: Failure Data Action in a Flow.
Hi
@Adrian Rodriguez, the data action that is failing is on the workflow? If it, on architect, you can use data action block, it give you 3 paths: sucess, failure and timeout. Also, it give you the option to caputre some values from data action execution:

I suggest you to capture errCode, correlationId, entityName and userMessage at least then use "Set Conversation Data" to add the captured data as attributes. In this way you could get some hint to know why is it failing.
If you fail to find out what is wrong, just open a case with Genesys Customer Care and provide conversationId and correlationId, so they could help you to find out what is wrong.
Regards,
SG
------------------------------
Saugort Dario Garcia
Interacciones Inteligentes S.A.
Original Message:
Sent: 05-28-2024 04:11
From: Adrian Rodriguez
Subject: Failure Data Action in a Flow.
Hello,
I have a trigger configured that triggers a flow, the purpose of it is to insert as an attribute of a conversation its own transcript.
The flow is composed of 3 data actions.
1. Get the communicationid based on the conversationid --> UI/Flow OK
2. Obtain the url of the transcript --> UI/Flow OK
3. Access the url and save the content in a variable --> UI OK-Flow Failure.
The problem comes with this third data action, in the ui it works in 100% of the cases correctly, in the flow it goes through the failure branch 98% of the times.
The problem is that in the performance of the data action, it shows that it executes correctly 100% of the time, without any error.
This is my data action,
Some help with that?
BR
{ "name": "5.Get Transcript Messages ", "integrationType": "custom-rest-actions", "actionType": "custom", "config": { "request": { "requestUrlTemplate": "${input.url}", "requestType": "GET", "headers": {}, "requestTemplate": "${input.rawRequest}" }, "response": { "translationMap": {}, "translationMapDefaults": {}, "successTemplate": "{\"raw_json\": \"$esc.jsonString(${rawResult})\"}" } }, "contract": { "input": { "inputSchema": { "type": "object", "properties": { "url": { "type": "string" } }, "additionalProperties": true } }, "output": { "successSchema": { "type": "object", "properties": { "raw_json": { "type": "string" } }, "additionalProperties": false } } }, "secure": false}
#ArchitectureandDesign
#Integrations
------------------------------
Adrian Rodriguez
EOS Spain S.L.
------------------------------