Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

UDF for comparing first variable with array of second variable and pass third variable if equal

$
0
0


Hi Experts,

 

My requirement is : I will get three variables from source. All contexts are different.

 

I need UDF for first variable(Var1) should compare with array of second variable(Var2 array of values) and pass the third variable if first variable is equal to any of the variable in Var2 array.

 

Appreciate your help on this.

 

Example:

 

Var1:

4

5

4

6

5

4

4

 

Var2:

1

2

3

4

5

 

Var3:

1001

1002

1003

1004

1005

1006

1007

 

Result:

1001

1002

1003

1005

1006

1007

 

Note: 1004 is not there in result because in var1 6 is not matched with array of var2 values.

 

Thnaks & regards,

A.Neelima.


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>