I need to change token value by ifelse operator. What syntax?
From event I have token value=A, but I need to change this value for event field to value=B? I understanding that i need token operators, but not understanding right syntax. Please, help me.
I need more information to know exactly which operator to use but there are the available operators using to make an if then else condition, the second column is the result type.
__regexToken used with __oneOf may be used to do the same required condition (cf. pdf)
I advice you to check in this document (last version) presents on Protect724 where you will find the token operation list with clear explanation and some example following the connector type you need to set-up.
I hope this information will help you.
The syntax looks something like this:
event.fieldxxx=__ifThenElse(lookup token,comparison value,if true return this,else return this)
Basically that checks the token test_userid, and if its blank returns "Not Available" else it returns the value.
It really helps me, Can you tell me what syntax for situation when I had 3 or more values for if.
If a=b then
I have one token and 4 token values, there is: 0, 1, 2, 3.
I need to change 0 to "string1", 1 to "string2", 2 to "string3". How I can do this with __ifThenElse operator? Not understand