Skip to Content
avatar image
Former Member

​Simple UDF for Concatenate multiple input fields

I have a requirement to Concatenate More then 20 fields in message mapping .

Difficult to use standard Concatenate function in such scenario .

Can you please suggest me how to write simple Concatenate function in PI (Grahical mapping)

I tried by creating UDF with Execution Type as Single Values ( for example var1 ,var2, var3)

// Java Code

String JainOutput ;

JainOutput = Var1 + Var2 + Var3

But It is throwing error. Can any one provide me exact logic how to write for concatenate multiple values

Jain

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Mar 06, 2017 at 03:07 PM
    example.jpg

    Hi Jain,

    Your code seems to be ok, you would only need to return the output, check my attachment.

    You should consider if the values are in the same context.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 18, 2017 at 12:46 PM

    What is the error thrown?

    Add comment
    10|10000 characters needed characters exceeded