Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8807

Re: Hold Values from RFC response in Global Variable in PI

$
0
0

Hi Sandip,
Thanks for your help. Can you please help me here as I am doing this for first time.

 

I have declared Hashmap in attributes and methods.

 

Where do I do this populate hashmap

 

// populate hash map
  newmap
.put(1,"tutorials");
  newmap
.put(2,"point");

 

In UDF I have written like this..is this corrrect way as per your suggesstion to populate..

 

for(int i=0;i<length;i++);

{

map.put(source[i],target[i]);

}

result.addValue("");

 

 

Please let me know;


Viewing all articles
Browse latest Browse all 8807

Trending Articles



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