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.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions