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

Add context through UDF for every 100 values in list

$
0
0

Hi,

 

I have a scenario where I need to split the output from INDEX node function in chunks of 100 and add a context.

For ex. my output from INDEX function is:

 

1

2

3

.

.

100 (Need context change here)

101

.

.

200 (Need context change here)

.

.

219

220 (Need context change here)

1

2

3

.

.

100 (Need context change here)

.

.

160 (Need context change here)

 

So I need to generate five contexts here. (1 to 100, 101 to 200, 201 to 220, 1 to 100, 101 to 160)

After every 100 values or starting of new list I need to add context change.

Could someone please help with a sample UDF for this requirement.

 

Regards

Jatin


Viewing all articles
Browse latest Browse all 6719

Trending Articles



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