cancel
Showing results for 
Search instead for 
Did you mean: 

​Simple UDF for Concatenate multiple input fields

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186851
Active Contributor
0 Kudos

What is the error thrown?

iaki_vila
Active Contributor
0 Kudos
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.

Former Member
0 Kudos

ThankQ ..