on 06-06-2016 10:53 AM
We have read the 'Developer's Guide: Managing Integration Content', page 187 : Defining Exception Subprocess.
○ Splitter
○ Router
○ Multicast
○ Join
○ Gather
And further had a look at following blogs :
Problem :
Options tried :
Multiple exception blocks, connected to SFTP / MAIL.
Multiple start events in one exception block, connected to SFTP / MAIL.
Parallel Multicast - End Message won't connect to Parallel Multicast (or Gateway) event.
Any suggestions on how to achieve this?
Thanks !
Kevin
Hi Kevin
Maybe it's just not possible as of the current HCI functionality.
As a workaround, you can possibly consider using a two IFlow approach:-
- send the error to an intermediate SFTP folder, then use a second IFlow to pickup from that folder and send to both SFTP (final folder) and Mail
- use a SOAP loopback approach, send the error using SOAP channel to a second IFlow which has a SOAP sender channel. Similar to above, second IFlow will deliver to final SFTP destination and Mail
Regards
Eng Swee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eng Swee,
thanks for the input. I thought of the same approach too, but considered it a bit farfetched.
I was hoping for a more standard approach, as all functionality is already there but if the pieces won't fit we have no other choice.
What also makes me wonder is :
Whenever an error occurred in a scheduled flow (with timer event), a file was logged, although the statement tells otherwise.
In the meantime I created a customer message regarding this subject.
Thanks again & best regards,
Kevin
Hi Sriprasad,
smart thinking, great ! I haven't thought of that approach.
I inserted a content modifier for the SFTP file and added a script for the e-mail, I tried your suggestion in two versions :
The only drawback I see with a 'serial' approach is that when the first step (SFTP) fails, the sending of the e-mail also fails and no mail is sent? 'Parallel' processing in the Exception Subprocess would be a better choice, but I don't think that's possible (see my test earlier).
What is your opinion?
Hello Kevin,
I agree on the above if first call from SEND Step fails second will not be processed. It behaves in serial processing manner only.
Only failure from SFTP or Email adapter I can see is unavailability of the Host Servers ( Considering From SFTP perspective you are marking user non expiring ).
Regards,
Sriprasad Shivaram Bhat.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.