Workflow taking too long to execute and hangs even at zero warnings and errors at validation

Dom Davidson
Giga Contributor

Hello ServiceNow Gurus,

I have a fairly large workflow that generates about 50 tasks, uses a couple of "branch and join", a few "wait for" conditions, "if" conditions, and a few set value conditions.

During validation and at publish- the system shows there are no warnings or critical errors. However, when the workflow conditions are met on the form and triggered- the workflow takes a long time to execute and often doesn't execute and hangs.

What are a few things I can do to remediate this issue?

Much thanks for you insight on this.

-Dominic

1 ACCEPTED SOLUTION

Manoj Kumar16
Giga Guru

Try to place the chunks in seperate workflows and use them as a subworkflow in your main workflow. I hope this helps.


View solution in original post

8 REPLIES 8

Manoj Kumar16
Giga Guru

Is your workflow hanging in wait for condition ? If yes then please check the wait for condition.


Hi Manoj,



My workflow is not hanging at the wait for condition. It is hanging from the very start.



However, if I break up the workflow into chunks its working fine. If I combine all activities together the entire workflow is hanging from the very start. I am not sure where the underlying issue is.



Any assistance on this matter would be greatly appreciated.



Thanks.


Dominic


Manoj Kumar16
Giga Guru

Try to place the chunks in seperate workflows and use them as a subworkflow in your main workflow. I hope this helps.


Much thanks Manoj. That worked!