Assigning variables
I am struggling with assigning variables - if I have a condition (IF) and if true, I want to set a variable to A, and if false I want to set the SAME variable to B. I have been using the Create Value and Set Property activities, without luck. The Create Value activity has unique Ids, so the results are different. So, when I have a single where clause I want to use like ="TRT_STATUS IN (" + $stsActive.result + ")" - the stsActive only pertains to one of the Create Value outputs, not the other (i.e. stsActive1.result). Any thoughts?
-
Hi Ryan,
It sounds like you've almost got it. You might just need to move your Create Value activity to somewhere earlier in the workflow, so that both Set Property activities on either side of your If can see and set the value on it, like this:
0 -
Excellent. That works as expected!! Thank you.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare