Expand my Community achievements bar.

Throwing exception in Process steps

Avatar

Level 1

Hi Team,

We have a continuous process steps in our WF with Handler In Advance True.

We are throwing the exception something like this

"throw new WorkflowException(e.getMessage(), e);" .

The problem here is lets say we have 2 process steps and those needs to execute one after another and if the 2nd step get failed the first one also thorwing exception and trying AEM trying both steps 10 more times even after the first one success.

This is a problem for us.. since we are wring some success comment row in our AEM.

Any suggestions how can we stop execute the successfully process steps along with the exception one.

Tried to use the Workflowexception instead of the thorw WorkflowException(e.getMessage : No use

If we just catch the Exception that is not helping us.

Thanks

Uma

1 Reply