Activate and Deactivate flows by API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 07:22 PM
Hello Experts,
I want to activate and deactivate flows not from Flow Designer Menu, but by using an API or other means.
When I change the Active and Status values of "sys_hub_flow" using the REST API,
it looks like the change has been made successfully even on Flow Designer,
but in reality the flow does not work.
If you have a solution, please help me.
Or is there any other way to activate or deactivate flows?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 01:13 AM
Please explain your use case? Why not use the flow designer menu to update the active flag on flows?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 01:53 AM
We would like to know whether it is possible for not developers like agents to activate and deactivate flows without accessing flow designer menu in order to prevent operational error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 02:22 AM
So you have something running and suddenly it stops, because an agent decided to shut down a flow? That's a weird requirement. Flows are moved from Dev through other non-prod instances to Prod. Inactivation should be handled in the same way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 02:31 AM
In some cases, agents directly operate the Prod environment when they want to stop a flow in an emergency, such as when a problem occurs in a flow.
This is because flows are for monitoring purposes and triggered freqently, if the flow with a problem is left unattended, a large number of notifications will be sent to users.