Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

AEM workflow OR Split control flow issues

Avatar

Level 6

I was working around the following workflow. Once getting in the Author Admin Approval OR split reject, it's not taking the next process step. Similarly in the approve branch, steps after the approve/reject participants of inner OR split are also behaving the same way.

Capture.PNG

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @jezwn 

 

The logic of OR split works usual way as described by @arunpatidar. And, as I see your workflow, for approve/reject - you've used participant step. So, it seems like once the operation is done by "Author Admin Approval" - it's going to either Approve or Reject based on the selection and next step would be to go to Approver or Rejector inbox to proceed to next steps of workflow. But, if you're would like let's say. "Directly receive email" after rejection then in that case, you need don't need to have "Reject" step in workflow. Instead of that, directly add "Admin Reject Email to Workflow Initiator" under OR split and terminate the workflow programatically. 
The same goes for Inner OR split as well. 

Best regards,
Himanshu Singhal

View solution in original post

4 Replies

Avatar

Community Advisor

The decision path is manual or automated.

If you choose user to take decision then you have to go to inbox and choose the next path.

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/understanding-how-or-split...



Arun Patidar

Avatar

Community Advisor

Please check for scripted decision

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/understanding-how-or-split...

 

If you are using manual/user based decision then user has to select next path from inbox/notification console.



Arun Patidar

Avatar

Correct answer by
Community Advisor

Hi @jezwn 

 

The logic of OR split works usual way as described by @arunpatidar. And, as I see your workflow, for approve/reject - you've used participant step. So, it seems like once the operation is done by "Author Admin Approval" - it's going to either Approve or Reject based on the selection and next step would be to go to Approver or Rejector inbox to proceed to next steps of workflow. But, if you're would like let's say. "Directly receive email" after rejection then in that case, you need don't need to have "Reject" step in workflow. Instead of that, directly add "Admin Reject Email to Workflow Initiator" under OR split and terminate the workflow programatically. 
The same goes for Inner OR split as well. 

Best regards,
Himanshu Singhal

Avatar

Community Advisor

@jezwn 

To automate your steps based on approval or rejection using OR Split, You have to make sure your handler advance checkbox is checked for each OOTB/Custom process steps.

and one more thing... I don't think the auto advancer step is required after the participant step.