14 Nov 2024 07:07 AM - edited 14 Nov 2024 07:41 AM
Good morning,
Does anybody know what the constraints are for workflows, or in other words what would happen if I trigger a workflow many times in a very short time?
I assume this is resolved by using a queue with the full is full principle and removing the ones that are waiting to long?
So in short how many instances of my workflows run concurrently?
KR Henk
Solved! Go to Solution.
14 Nov 2024 07:24 AM
@henk_stobbe - Doesn't look like there is a hard limit as per docs , its mostly to with system capacity
A workflow execution is the instantiation of a workflow. There can be as many executions of a workflow running at any given time as requested (within system capacity). A workflow execution is triggered manually via Workflows, automatically via an API call, a trigger event, or according to schedule.
https://docs.dynatrace.com/docs/shortlink/workflows-running#workflow-execution
14 Nov 2024 07:29 AM
Hi Henk,
once a workflow is triggered it will end up in a queue, correct. However if the triggering is successful, it will not be removed from the queue but will get executed once it reaches the front of the queue.
Queue wait times however tend to be very low, max a few seconds even under high load.
Workflows do have a max execution limit per hour, which is currently only enforced for event triggers but soon for the whole workflow instead of trigger type specific (both as a safeguard for us and our customer in case of some misconfig).
This limit is 1k executions per workflow per hour. Once you reach that limit the workflow is throttled and when trying to trigger the workflow, you will get a 429 error immediatly.