Hi Sriprasad,
smart thinking, great ! I haven't thought of that approach.
- When logging the SFTP file, I have a content modifier implemented (see Blog 4: Modelling Exceptions in Integration Flows (HCI-PI))
- When sending the e-mail, I used a script (see HCI First Steps Part 7 - Handling errors)
I inserted a content modifier for the SFTP file and added a script for the e-mail, I tried your suggestion in two versions :
- With parallel processing : the error message returned is 'Exception Subprocess should start with an Error Start Event and end with either End Message or Error End.
- With serial processing - this seems to be ok. Note : the blog for sending the e-mail mentions that an 'others' -> 'sender' element has to be added, but the 'send' service call doesn't like that and wants a receiver element instead.