Hi guys,
Hope everyone is doing well.
I have a workflow that I scheduled to run once per day, the workflow may take time to complete (Over a day sometimes depending on the data to process).
I need to have only one workflow job to be running at the same time, and I wonder how can I prevent the next scheduled job of the workflow to be canceled if the today’s one will keep running until the next day.
Found the “AcquireLock” activity, which I tried to use at the start of the workflow, which works fine to prevent the next scheduled workflow to execute, however it remains in the waiting state, while I want it to end directly if the previous one is still running.
Is there any way to force the AcquireLock to process to the next activity even if it didn’t acquire the lock ? That why, if it didn’t acquire the lock, I can end the workflow directly.
Regards.