Skip to main content

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?

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