Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Throwing exception in Process steps


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.



1 Reply