Expand my Community achievements bar.

SOLVED

Conditional Routing in Process Step

Avatar

Level 2

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.

workflow.PNG

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

1 Accepted Solution

Avatar

Correct answer by
Level 10
4 Replies

Avatar

Level 2

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

Avatar

Correct answer by
Level 10