Conditional Routing in Process Step | Community
Skip to main content
sumeet_a_kulkar
Level 2
September 20, 2018
Solved

Conditional Routing in Process Step

  • September 20, 2018
  • 4 replies
  • 1767 views

Hi,

I have a requirement where I need to create a workflow based on the below model. I need assistance in coming to a solution in designing the model after "Process Permissions" Step.

The process permissions step will provide me a result from an external end point. If the result is success, then I should carry out the steps defined in the "success" flow otherwise "Failure" flow should be invoked.

How can I invoke the either of the flow in my "Process Permissions" Step.

I was going through API and encountered workflowtransitions.setTo() method. But I am not able to get any code samples of how to implement this.

Is there any other way to achieve the required functionality?

Thanks in Advance.

Thanks,

Sumit Kulkarni

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

We have an OR split article here - Adobe Experience Manager Help | Invoking an Adobe Experience Manager Custom 6.4 Workflow from a web page

Model here

4 replies

arunpatidar
Community Advisor
Community Advisor
September 20, 2018
sumeet_a_kulkar
Level 2
September 20, 2018

Hi Arun,

Thanks for quick response.

I have gone through these articles. I am actually looking for how to add the script or condition to control the process flow.

Thanks

smacdonald2008
smacdonald2008Accepted solution
Level 10
September 20, 2018
sumeet_a_kulkar
Level 2
September 20, 2018

This is helpful. Thanks.