You are viewing limited content. For full access, please sign in.

Question

Question

"is in" condition not working as expected

asked on February 25, 2016

I am creating a Condition Decision in a Workflow.  My condition states that a "{token} is in (AK,AZ,CA,CO,HI,IA,ID,IL,IN,KS,KY,MN,MO,MT,ND,NE,NM,NV,OK,OR,SD,TN,TX,UT,WA,WI,WY)".  I know the value in the token is "KS", but it is not falling into this branch.  What am I doing wrong?  Do I need quotes around each value or something since the token value is a string?

0 0

Answer

SELECTED ANSWER
replied on February 26, 2016

I figured it out.  You have to add each value individually using the "Add" button the right....doh!

0 0

Replies

replied on February 25, 2016

Is your token a multi-value token? What does the Conditions tab in the instance details show for the condition evaluation?

0 0
replied on February 26, 2016 Show version history

No, it is not a multi-value token.    It looks like I have something wrong in my list.  How am I suppose to enter multiple values in the list for the "is in".  I couldn't find any help on this so I am just guessing.

0 0
replied on February 26, 2016

I meant the conditions tab on the instance where you saw it not work.

0 0
replied on February 26, 2016

Found it :)  Sorry, new to this all.  Looks like I have my list setup wrong but was not able to find any help on the right way to do it.

IsInResults.jpg
IsInResults.jpg (25.81 KB)
0 0
replied on February 26, 2016

It looks like it was set to check for "equals", not "is in".

0 0
replied on February 26, 2016 Show version history

I noticed that too so I just changed it.  I tried it with tic marks around the values and without tick marks and it still comes out false.  It seems like it wants to consider the entire thing one value so I am sure I am entering the list of values incorrectly but can't find any help on the right way to enter them.

IsInResults.jpg
IsInResults.jpg (27.04 KB)
0 0
SELECTED ANSWER
replied on February 26, 2016

I figured it out.  You have to add each value individually using the "Add" button the right....doh!

0 0
replied on February 26, 2016

Oh. Yeah, unfortunately there wouldn't be any way for us to tell values with commas from a list of values otherwise. I'll see what we can do to make it easier in the future.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.