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

One thought on “UDFNodePool – contextHasOneOfSuchValues

  • March 2, 2023 at 7:45 pm
    Permalink

    HI Yee Loon,

    Thanks for your blog. if you share Udf codes it will be more helpful to us.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *