Conditionally set a variable in a workflow

I need to conditionally define a variable based on the output of a previous step.

Is there a pattern to set a single variable with a different value depending on a dynamic condition in the workflow (e.g., the success or failure of an earlier action)?

Hi,

You can use operator “compare string” and set the value of variable.

Also I am not clear on requirement. Can you please elaborate?

-Abhinov

Hi @Abhinov7 ,
I need to define a subject for an email notification with one of two possible values depending on the status of a previous action.

Can you expand on the compare strings operator, if I place a define variable action on each output path of the operator, they each define distinct variables.

Thanks!

Hi,

In that case create two email notifications on both sides of conditional operator with different subject.

Only one will execute at a give time.

-Abhinov

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.