cancel
Showing results for 
Search instead for 
Did you mean: 

Fork in BPM

Former Member
0 Kudos

Would some one explain me the Fork step in BPM with a SIMPLE example please?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

you have want two different messages to come

in to your BPM (in order to start it)

you can use fork step and set it in such a way

that BPM will not be started until

2 messages (with 2 different interfaces)

will reach this BPM

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Mohan,

Just check these links,

http://help.sap.com/saphelp_nw04/helpdata/en/24/e2283f2bbad036e10000000a114084/content.htm

/people/prasadbabu.nemalikanti3/blog/2006/02/24/collecting-and-bundling-vendor-records-from-different-multiple-interfaces-file-systempeoplesoft-and-sending-to-sap-r3-system-part-1

Regards,

Bhavesh

Answers (4)

Answers (4)

STALANKI
Active Contributor
0 Kudos

fork process is synonymous to fork in unix..

the child process is spawned and will be executed independtly and the parent process will wait until all the child proceess finish executed..apply the same philosphy and understand..

rajarshi_muhuri
Active Participant
0 Kudos

Have a quick query on fork step in BPM !

A fork is terminated if a co relation is satisfed , So will the fork hold the Messages in its branches infinitely till the co relation is satisfed ?

Example :

File1 : (Receive step 1 in branch 1 of the fork )

Name

ID

File 2 : ( Receive step 2 in branch 2 of the fork )

Company

ID

A Fork receives the above messages, and terminates if ID of File 1 = ID of File 2. So will the Fork hold instances of the messages indefinitely if the co relation is not satisfied or holds it for a certain time ?

Former Member
0 Kudos

Yes, Fork hold instances of the messages indefinitely if the co relation is not satisfied, until unless cache is refreshed.

Rgds,

Yuga

former_member91687
Active Contributor
0 Kudos

Hi,

You use fork to do your processing in different branches, which maybe independent of each other. You also have an option of specifying the required number of branches.

Fork examples:

http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/77/0737133012b24b9d0a12c6df2b1054/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm

These will help you understand.

Regards,

Chandra

Former Member
0 Kudos

Hi Mohan,

We use Fork when we want to continue a process in branches that are independent of each other, for example, to communicate with two systems that are independent of each other. The branches of the fork join in a union operator.

We use Fork in a workflow definition when the business process can be continued by several users at the same time. we can also configure the fork in such a manner that not all branches have to be processed.

To define a fork, we specify the number of parallel branches required with the step name. The fork, consisting of the start operator, the branches each with an undefined step and the join operator, is inserted into the workflow definition.

To define the termination of the fork, we have to enter the number of branches required and the condition

regards

Mahesh.

Former Member
0 Kudos

HI mohan,

Fork step can also be used in BPM if you want to send the incoming message simultaneously to different recievers,

For example some IDOC MATMAS is coming to XI and you need to create the material in two different R3 synchronously, then you could use a fork step and insert a send step in both the parallel branches.

The use is basically for parallel processing.

Regards,

Yomesh