cancel
Showing results for 
Search instead for 
Did you mean: 

BPM's

Former Member
0 Kudos

hi....experts,

1) what is the diff b/n switch and fork steps.

2) what is throwgh exception

3)what is corelation? with out corelation also we can do the merging, how it posible? pls explain briefly

thank u

Prasad

Accepted Solutions (1)

Accepted Solutions (1)

justin_santhanam
Active Contributor
0 Kudos

Prasad,

Diff b/w switch & fork:

Switch step is you to decide which steps to execute inside the branches of switch step based on the conditions defined.

Fork step is used to process your steps parallely. Consider the below example,

I'm receiving three files in the Fork branhces. In the property of it u can see necessary branches , if you give it as 2 then it will come out of the fork before recieving the third file. So its upto your design how you want to design. You can give the necessary branches maximum value equals to as many branches you have in the fork.

Through Exception,

While designing the BPM , u can through the exception using Send,Transformation and Control steps. But these steps has to be placed inside block to throw exceptions. You can define the exception name in Block level, so that if you place the above steps inside the block step you can throw the exception and catch it if u needed in the Exception handler branch of block.

Hope it helps!!!

Best regards,

raj.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Prasad,

<b>Fork:</b>

You use a fork when you 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.

You can specify the required number of branches and then define whether the process must run through all branches, or just a particular number of branches. Furthermore, you can define an end condition for the fork

For more on Fork:<a href="http://help.sap.com/saphelp_nw04/helpdata/en/24/e2283f2bbad036e10000000a114084/frameset.htm">Click here</a>

<b>Switch:</b>

You use a switch to define different processing branches for a process. The Otherwise processing branch is created automatically.

You define a condition for each processing branch (see also: Condition Editor). The condition is checked at runtime. The process is continued in the branch that is first to return the value true. If no branch returns the value true, then the process is continued in the Otherwise branch.

For more on Switch: <a href="http://help.sap.com/saphelp_nw04/helpdata/en/24/e2283f2bbad036e10000000a114084/frameset.htm">Click Here</a>

<b>Throw Exception:</b>

/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0e1ba1a-e86e-2910-ee83-b73b54ab...

<b>Correlation:</b>

Check this blog Do you like to understand “correlation” in XI?:

/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi

Correlating Messages:

http://help.sap.com/saphelp_nw04/helpdata/en/6d/94364296f1b26be10000000a155106/frameset.htm

Regards,

Subhasha Ranjan