The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now!
A chart showing the TIBCO Platform vision
Jump to content
Forums
Ask questions and gain insight from discussions

Need a logic to each iteration fetch 500 records from accumulated output.


akila krishnan

Recommended Posts

To do this you need to create an intermediary grouped list.

 

Assuming your input list is a list of Records in the form :

List

-> Record*

The principle would be the following :

. Created a grouped list of Records (a new XML schema) in the following form :

List

-> Group*

-> Record*

. Map the input list to the grouped list using a mapper with the 'for each group' statement and using the 'position() mod 500' (modulo) as groupid

. You now have your list in groups of 500 records

. Create a iteration on the list of groups (from the grouped list)

- in the iteration call the sub-process with the 500 records of the current group

 

I think this should help, if you are still stuck let us know

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...