Why does using "Pause Flow" in an async flow create multiple background jobs/threads?

I'm working with asynchronous flows in Decisions and noticed that when I use the "Pause Flow" step, it starts spinning up multiple background jobs or threads, even though I expect only one. Eventually, it drops down to a single thread, but initially, there are more jobs than I anticipated. Is this expected behavior, and how can I prevent multiple jobs from being created when I just want a simple delay in my flow?
Comments
-
Hello,
Yes, this is expected behavior. The "Pause Flow" step is designed to pause and resume flows asynchronously, which can result in multiple background jobs or threads being created temporarily. If you only need a simple delay (not a true pause/resume), use the "Delay Next Step" step instead. This will prevent multiple jobs from being created.
Hope this helps!
Howdy, Stranger!
Categories
- 4.5K All Categories
- 86 General
- 13 Training
- 212 Installation / Setup
- 1.2K Flows
- 112 Rules
- 277 Administration
- 215 Portal
- 502 General Q & A
- 721 Forms
- 355 Reports
- 3 Designer Extensions
- 47 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 189 Pages
- 5 Process Mining
- New Features
- 187 Datastructures
- 72 Repository
- 237 Integrations
- 30 Multi-Tenant
- 27 SDK
- 81 Modules
- 60 Settings
- 26 Active Directory
- 12 Version 7
- 36 Version 8
- 143 Lunch And Learn Questions