Stopping API calls routinely
Comments
-
Hey Decisions,
Is there anything that could terminate all outbound API connections every two minutes on the clock, regardless of how long the flow was running? This isn’t a timeout, more like a scheduled job. -
Outside of setting a timeout on each API call, there is at least one way to stop API calls. That would be to use a report filtered by flow name with some constant inputs of the names of flows that make API calls, passing that report output data into a flow that loops through the reports results and cancels each flow by its flow tracking ID, and using that flow to create a scheduled job. Ive created a demo project for this approach. To best use this method, make API calls in a subflow, add an on exception path to the subflows step if its called in another flow, and add the subflows name to the list in the running flow report for specific flows reports filter. It would also be helpful to have a catch exception step in any flow with an API call that might be canceled by the scheduled job.
Howdy, Stranger!
Categories
- 4.4K All Categories
- 78 General
- 13 Training
- 209 Installation / Setup
- 1.1K Flows
- 110 Rules
- 270 Administration
- 213 Portal
- 497 General Q & A
- 709 Forms
- 345 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 186 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 229 Integrations
- 29 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions