contextHasOneOfSuchValues will produces a single “true” if the first argument (a context queue) contains one of the values passed as a constant in the second argument (separated by a semicolon); otherwise “false”.

Source message type and target message type:
contextHasOneOfSuchValues_MT

Source data and target data:
contextHasOneOfSuchValues_data

mapping for field string1:
1st queue is list from ‘A’ to ‘G’. 2nd queue is string “B;D;Z”
1st queue has one of such values from (‘B’,’D’,’Z’). 2 matches and 1 not matched.
As long as at least one matched, output will be single string value “true”.
contextHasOneOfSuchValues_list1_true

Another example:
Both ‘M’ and ‘N’ also not matched any value from ‘A’ to ‘G’, so output is single string value ‘false’.
contextHasOneOfSuchValues_list1_false

UDFNodePool – contextHasOneOfSuchValues

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.