BPM Condition looks for value in a list

What is the correct way to accomplish this? Im not creating the correct expression.

I want the condition to see if a value is not equal to a list of values

Hey Andrew,

I might first set a boolean variable for this result using string.Contains(yourValue), then in your condition, test the variable as being false. Just a thought.

3 Likes

This condition is looking for a C# expression

image

to finish what you’ve set up:

ds.PODetail.PartNum != [your expression]

So your expression here has to evaluate to a string that will be checked against the PartNum for equality…

Probably the most straightforward way to do this (particularly if you’re not comfortable with C#) is to add a condition for each invalid PartNum :grimacing:

I could be wrong, but to do the string.Contains that Mark suggested, you’ll have to get the “changed” row of PODetail (and best to check for null…)

1 Like