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
BedrockMission!

Learn More

View all

Sign in to view all badges

Throwing exception in Process steps

Avatar

Avatar
Affirm 1
Level 1
umamaheswariy17
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile

Avatar
Affirm 1
Level 1
umamaheswariy17
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
umamaheswariy17
Level 1

05-08-2019

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

Replies

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,198 likes

Total Posts

6,369 posts

Correct Reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,198 likes

Total Posts

6,369 posts

Correct Reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

26-08-2019

Arun Patidar​ Any help?