Conditional Routing in Process Step | Community
Skip to main content
sumeet_a_kulkar
Level 2
Sep 20, 2018 11:06 AM UTC
Solved

Conditional Routing in Process Step

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.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Sep 20, 2018 1:21 PM UTC

4 replies

sumeet_a_kulkar
Level 2
Sep 20, 2018 2:00 PM UTC

This is helpful. Thanks.

Translate
smacdonald2008
smacdonald2008Accepted solution
Level 10
Sep 20, 2018 1:21 PM UTC
sumeet_a_kulkar
Level 2
Sep 20, 2018 12:43 PM UTC

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

Translate
arunpatidar
New Participant
Sep 20, 2018 11:18 AM UTC