cancel
Showing results for 
Search instead for 
Did you mean: 

Compare Values in PI 7.1

Former Member
0 Kudos

Hi Experts

I am working on a Proxy to File(Text) scenario in PI 7.1 where I am receiving the Role Code as table (which will have multiple rows) and I need to compare check sequentially and if any role code is matches to CL then I need to return the value as Y else N to the Result field on the receiver side

Please let me know how can I read the all Role codes from the Sender node and compare each value with CL (constant)

Do I need to define the User defined function ?

Thanks a lot for the inputs

PR

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks

santhosh_kumarv
Active Contributor
0 Kudos

Hi,

A simple Graphical mapping will do this..

rolecode & constant "CL"----


> equalsS(string Function) -


> If -


> Target

constant 'Y' -


> then(of If)

constant 'N' -


> else(of If)

change the context if required depending upon your source structure....

~SaNv...