How to update the status of the Workflow when the WF failed instead of the Running

Avatar

Avatar
Validate 10
Level 4
umamaheswariy46
Level 4

Likes

17 likes

Total Posts

144 posts

Correct reply

5 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 10
Level 4
umamaheswariy46
Level 4

Likes

17 likes

Total Posts

144 posts

Correct reply

5 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile
umamaheswariy46
Level 4

10-06-2019

Hi Team,

Right now with the process step even after the WF failed the wf instance is not moving to the failure queue as per Adobe.

How can we update the status of the WF , is there any guidance that helps a lot.

Thanks

Replies

Avatar

Avatar
Coach
Employee
jbrar
Employee

Likes

389 likes

Total Posts

869 posts

Correct reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Coach
Employee
jbrar
Employee

Likes

389 likes

Total Posts

869 posts

Correct reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile
jbrar
Employee

10-06-2019

Can you provide more details about the use case? As far as i know failed workflow should be listed under the failures tab.

For workflow completion, check the second last step for the "DAM Update Asset" workflow model.

Avatar

Avatar
Validate 10
Level 4
umamaheswariy46
Level 4

Likes

17 likes

Total Posts

144 posts

Correct reply

5 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 10
Level 4
umamaheswariy46
Level 4

Likes

17 likes

Total Posts

144 posts

Correct reply

5 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile
umamaheswariy46
Level 4

11-06-2019

Hi Jaideep,

Right now AEM is showing the failure WF also showing the Running queue and as well failure queue with "RUNNUNG" as status.

We would like to update the status whenever WF failed for any reason.

Thanks

Avatar

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
berliant
Employee

11-06-2019

How did you conclude, that workflow is in failure state?  Did you review a workflow execution history, step-by-step and you could point an error? For a not a transient workflow, the status is a value of "status" property in workflow instance node, example:

/var/workflow/instances/server0/2019-05-19_2/myworkflow@status.

If you are certain that it's failed workflow, you can set the status via CRXDe. In a case AEM still marks a failed workflow as running, I suggest opening a Daycare case