createIfHasValue will produces empty value if argument is not empty; ResultList.SUPPRESS otherwise.
Source message type and target message type:
createIfHasValue_MT
Source data and target data:
If source message col1 do not have value or is with blank space, do not create node ‘row’, and col1 will not be copied to target message.
createIfHasValue_data
mapping for field row:
If is value ‘A’,’C’,’E’, created empty string “”. Empty string will create node “row”
If is “”(empty string) or ” “(a blank space), become SUPPRESS. SUPPRESS will not create node “row”
createIfHasValue_row
mapping for field col1: 1 to 1 direct mapping.
createIfHasValue_col1

UDFNodePool – createIfHasValue
Tagged on:     

One thought on “UDFNodePool – createIfHasValue

  • August 30, 2017 at 6:53 am
    Permalink

    Very nice and helpful UDF.

    Reply

Leave a Reply

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