Hi Garima,
In my case, the workflow is executed by the data action that calls the POST /api/v2/flows/executions GC API from the inbound call flow.
This API returns ID, that I pass to the GET /api/v2/flows/executions/{flowExecutionId} GC API to check exist reason, field "completionReason" in the response.
I think, the idea of @Brad Murlin to use https://webhook.site/ could be more convenient to use.
I also tried to set participant data from the workflow (set conversation data), but couldn't find a way to pass the conversation id of the call that executes the workflow to the workflow.
I hope this will help.
Irina
.
​
------------------------------
Irina Milstein
ITNAV-Pro Ltd.
------------------------------
Original Message:
Sent: 10-17-2022 06:23
From: garima balodi
Subject: How to debug Architect workflow?
That is a nice trick Irina .
Wanted to know , where can we see "exit reason" though . In interactions view or elsewhere ?
Regards
Garima.
------------------------------
garima balodi
Tata Communications Limited
Original Message:
Sent: 01-09-2022 02:35
From: Irina Milstein
Subject: How to debug Architect workflow?
Thank you for advice, Saugort.
I finally decided to create a string variable, add to it all the info that I need for debugging the workflow, and at the end, pass it as "Exit Reason" of the "EndWorkflow" block.
------------------------------
Irina Milstein
ITNavPro
Original Message:
Sent: 12-29-2021 06:37
From: Saugort GarcÃa
Subject: How to debug Architect workflow?
Hi,
What about use data action? Could be quite not very smart solution, but try to set a data action that call Genesys Cloud API to set participant data, in that way you could get the trace you need.
------------------------------
Saugort GarcÃa
Interacciones Inteligentes S.A.
Original Message:
Sent: 12-28-2021 02:14
From: Irina Milstein
Subject: How to debug Architect workflow?
Hi Jackie,
Thank you for the detailed response, we also use participant data and milestones for logs in architect call flows (inbound and in-queue), but you give me a good idea to combine them. Just wanted to clarify, when you add to participant data key-value pair like "Further.CustomerJourney038" - "ExitType=transferred", you set the participant data value hard-coded, or there is an option to choose an existing milestone as a variable for the participant data value?
However my original question was about Architect Workflow:

For workflows there is no option to set participant data, milestones or add audio prompts.
The only way I found to debug a workflow, is to create common module with the workflow logic, test it using participant data in dummy inbound flow, then remove all participant data from it, and call this common module from the workflow. But this is time-consuming, complicated and not good for complex workflows, so I would like to find another way to debug workflows. Do you have any idea?
Thanks,
------------------------------
Irina Milstein
ITNavPro
Original Message:
Sent: 12-27-2021 09:56
From: Jackie Maher
Subject: How to debug Architect workflow?
Hi Irina,
You'll need to set your own participant data milestones/logging. These logging points will be written to the conversation details. If you want to play prompts when you get to a certain point, you can do that, but I think writing a participant data milestone is quicker and easier, as there are no prompts to record, configure, load. We have participant data points with a incremental sequence number through our entire flow. They mark the path the caller took, like a trail of bread crumbs. We also use the participant data milestones for our statistical reporting, i.e. how many callers self serviced, which menu options did they select, how did the caller authenticate, etc... If you put the time and smarts into designing the participant data milestones within the flow, you'll have an excellent way to debug and provide very gradual statistics on the flow performance and caller behavior.
Here is an example of what our journey milestones look like, once extracted to Excel and sorted. We design this right with in our Visio call flow diagram; the flow and milestones go hand in hand.

------------------------------
Jackie Maher
Further
Original Message:
Sent: 12-23-2021 12:40
From: Irina Milstein
Subject: How to debug Architect workflow?
Hello Community,
does anybody know how to debug Architect workflow? There is no option to set participant data, there is no debug option (only publish), there is no prompts, that can be added to different cases. My workflow does not work properly and I have no idea how to test it.
Thanks,
#ArchitectureandDesign
------------------------------
Irina Milstein
ITNavPro
------------------------------