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

Re: PI v7.3 Process ResultList from UDF in another UDF

$
0
0

Hi Brian

 

In order to parse the content in the ResultList, you need to iterate through it using the get() method one at a time, and then use pop() to move to the next value. ResultList can accept different content, so not necessarily everything is stored as String.

 

Refer below an example of one UDF calling another and the result.

First UDF which stores two values, one String and one integer.

udf1.png

Second UDF calls first UDF, then iterate through the ResultList

udf2.png

Output when second UDF is used in mapping.

output.png

 

Hope this helps.

 

Regards

Eng Swee


Viewing all articles
Browse latest Browse all 8372

Trending Articles



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