FortiSOAR Discussions
ranjeet
New Contributor III

How to retrieve triggered playbook workflow ID

Hi @Community,

 

I’ve developed a playbook with multiple connector steps and reference playbook steps. After executing all the steps, I need to check if any step has failed or if the all playbook steps has finished or finished with error. I found an API that provides a list of failed playbooks, but when I trigger this API, it returns all failed executions of the same Please find the attached image for reference.playbook. What I need is to get only the result for the current execution of the playbook.

The API response includes a "workflow ID", but I'm unsure how to retrieve the triggered workflow ID during playbook execution in the environment.
Please find the attached image for reference.

 

 

Does anyone have a solution for this? Any help would be appreciated!

Thanks!

0 REPLIES 0