Introducing the all-new TIBCO Community site!

For current users, please click "Sign In" to reset your password and access the enhanced features. If you're a first-time visitor, we extend a warm welcome—click "Sign Up" to become a part of the TIBCO Community!

If you're seeking alternative community sites, explore ibi, Jaspersoft, and Spotfire.

Jump to content

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...