Solved

Skip next process action based on a value in a previous task

  • 15 May 2021
  • 1 reply
  • 45 views

Userlevel 2
Badge +6

I have very straight forward process flow:

 

 

Based on a value of a task parameter, I would like to skip sending the email (via the SMTP connector). I know it is possible to do this with code, but I can't find where to do so. Can someone please explain me in a few steps how I can acomplish this?

icon

Best answer by Mark Jongeling 16 May 2021, 20:52

View original

1 reply

Userlevel 7
Badge +23

Hi Johan,

That can be achieved by using a Process procedure on the Execute (table) task. You'll need some process variables and map those to the Output parameters of the Execute task process action. Once mapped, the process variables will obtain the values from the Execute task process action.

At the process action itself, go to the Performance tab and check the 'Use process procedure' checkbox.

Then in Control procedures, create a new one of the type Processes. Assign this one to the Process action named above.

From here on it's a bit of coding and using the @task_parmtr to decide which arrow to follow by setting it to the value 1.

Hope this helps! 

Reply