cancel
Showing results for 
Search instead for 
Did you mean: 

Looping Process call (loops determined by "array")?

floriangu
Participant
0 Kudos

Dear experts,

we have an requirement to call a DB web service which takes a value "SalesOrg" as request parameter to select daily sales data for that specific SalesOrg.

The web service can just handle a single SalesOrg as input parameter. However the Integration Flow should able to call the web service sequentially for defined SalesOrgs. The desired SalesOrgs can change from day to day basis and therefore should be configurable.

Idea was to implement a "Looping Process Call" which calls the web service for each SalesOrg separately.

Problem is that there is no end condition which can be defined. Idea is that the looping process call loops over all defined SalesOrgs and stops when all SalesOrgs have been selected. Ideal case would be to define a content modifier step which then externalizes the possible SalesOrgs which then can be modified or selected as part of the integration flow configuration.

Any ideas how this could be accomplished?

Thank you!

Accepted Solutions (0)

Answers (2)

Answers (2)

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Florian,

Instead of looping process you can use Aggregator and set the timeout after which aggregated message would be available for further processing.

Regards,

Sriprasad Shivaram Bhat

gagandeepbatras
Employee
Employee
0 Kudos

Hi Florian,

I think there is an another option , you can use Value mapping.

suppose you have 3 SO, store all SO in CSV format like SO1,SO2,SO3

Use script to read value map and create counter for each SO , or you can crate simple message for Each SO,

then use spliter and split on each message and call sub process and in sub process call you actual service.

Regards

GB