cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Exception subprocess with Multicast

omheerani
Explorer
0 Likes
3,289

Hello Experts,

I have one query. Below is sample iflow created. I am using multicast which has two branches.

Using Process call 1 , "Local Integration Process 1" is being called which contains mapping step and exception subprocess.

Once Branch 1 is executed , Branch2 is supposed to be executed.

Now in case, Message mapping1 gets failed , exception subprocess is called as per my expectation. However Branch 2 is not getting called.

Execution : Branch2 is not called.

However what is my expectation is, In case of failure in MM, exception subprocess should get called and then branch 2 should be executed OR in other words, in case of any failure in any of branch , it should not prevent/stop execution of other branches.

Workaround : I found one of workaround to bypass above issue to put Message mapping between splitter/gather(splitted on root tag, so will generated single message only) as below, but again these are additional steps which I am willing not to use.

Please help.. Thank you in advance.

Best Regards

Om Heerani

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Likes

Hi Heerani,

If you used Join+Gather on sequential or Parallel multicast, it will fail however either of one route fails, If you want to use either of the route, Use Router based on some condition instead of multicast

omheerani
Explorer
0 Likes

Hi Gopal,

My requirement is to process multiple branches and then gather them. so I can't use a router in this case. In case of any branch failure, I need to get the default structure (maintained in Content modifier) and let other branches get processed.

Sriprasadsbhat
Active Contributor
0 Likes

Hello Om,

I could see you are using Sequential Mutlicast,in this case second branch is called only after succesfull execution of first branch.Please try to use parallel multicast and share the behavior and with most of the steps Exception Process Subprocess stops further processing of message ( its not very much similat to Try Catch logic of Java ).

Regards,

Sriprasad Shivaram Bhat

omheerani
Explorer
0 Likes

Hello Sriprasad,

Firstly thank you very much for your prompt response.

I tried same scenario with Parallel multicast but no luck. Please find below screen shot of trace.

Join, Gather and ContentModifier4 is not executed.

What I expect if I am using exception subprocess in Local integration process1, it should handle exception there (within subflow) and it should proceed with next branch.

Nevertheless, why this scenario works fine if I put Message mapping between Splitter & Gather.

Thank you again for your time.

Best Regards

Om Heerani

omheerani
Explorer
0 Likes

Hello Experts,

Good day !!

Any comments or suggestion please.

Thank you.

Regards

Om Heerani