Retrieve Flow Status with ExecutionID via REST API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2023 02:55 PM
Hi All,
Is there a way to get a flow status and results with a REST API call using the ExecutionID?
I see that the sys_flow_context has the flow executions along with the status, but I don't see the results in that table. I can get by with just the status (for now) but I'd like to be able to get the flow results so I can parse out some additional information
My use-case is that I have a flow with a REST API - Async trigger. I want to call that flow, then check the status and get the related REQ/RITM.
Thanks,
Ben
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2023 09:10 AM
Hello,
Please refer the below link.
Regards,
Namrata
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2023 09:53 AM
Thanks @Namrata Ghorpad ,
That page was my starting point. I see I can get the status in the SNOW interface. What I want to do is be able to call a to get the status of the 'REST API - Async' call externally so that the calling service can find out if the flow was a success or not.
Ben
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2023 09:16 AM
I have achieved this by creating a Graphql resolver on the instance
With an Scripted Resolver
And now I can get status of my flow from api, I could modify the script to get outputs etc
press that thumbs-up button if this is helpful.
PS: I'm still looking for a more native way of doing this.