cancel
Showing results for 
Search instead for 
Did you mean: 

blocks in BPM

Former Member
0 Kudos

Hi Experts

What does the below modes for Block operation signifies

Default

Parforeach

For each

Thanks

Suma

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Suma

The ParForEach mode generates a block instance for each item (of a multiline container element), so all items are executed in parallel mode.

With ForEach, you loop through all items, processing them one by one.

It's explained here:

http://help.sap.com/saphelp_nw70/helpdata/en/f6/e1283f2bbad036e10000000a114084/content.htm

You can use the ParForEach mode when you want to send a message to multiple receivers simultaneously, for example. To do so, you use a receiver determination step to determine a multiline container element with the list of receivers. You then define that the message is sent to these receivers in a block with the ParForEach mode. You can use the ForEach mode when you want to send a message to multiple receivers one after the other, for example.

Regards,

Giuseppe

Former Member
0 Kudos

Hi Giuseppe

Consider the case where the mode of operation is "For each".

And the input to the block is having the message stucture whose occurence is 0 to unbounded.

Is it that for each occurence of the data there will be different messages?

For example if there are 100 Employee No's, there will be 100 message ID's once the processing happens inside block?

Thanks

Suma

Former Member
0 Kudos

Hi Suma

It applies to multiline elements (e.g. a list of receivers or a group of messages), not to a single message with multiple records.

http://help.sap.com/saphelp_nw70/helpdata/en/78/62373f58502e48e10000000a114084/content.htm

If you need to split the message creating 100 different messages out of a single message with 100 employees, you need to create a 1 to n mapping.

Regards,

Giuseppe

Answers (1)

Answers (1)

former_member200962
Active Contributor
0 Kudos
What does the below modes for Block operation signifies

Search on SDN first....there is a blog available on the same.