Hi All,
We have a workflow that allocates tickets to an order. This is done via a C# custom workflow activity. This workflow works perfectly while assigning tickets to 1 order, but now I have requirement, where we need to able to select multiple orders and assign tickets in bulk.
The issue I'm facing is that these workflows start at the same time and assign the same ticket range across all these orders. I need to make the second workflow instance onwards wait and queue up, until the first one completes and so on.
Any suggestion on how this can be done? I've tried Task task = Task.Delay(5000); in the code, but I get the timeout of the workflows which go over 2 min time limit.
Any help is greatly appreciated.
Thanks!!