cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello,

Currently, I'm creating iFlows with custom interfaces. When one puts an exception subprocess in an iFlow with an error/escalation end the sender will receive a message like below:

An internal server error occured: Message ended with Escalation end event. The MPL ID for the failed message is : <MPL ID> For more details please check tail log.

What I would like to do is to return a custom message, while maintaining the escalated / error label in the message monitor.

My question is whether this is possible to do and how.

Thanks in advance!

Bram

View Entire Topic
Former Member
0 Likes

Hi Bram,

Please check the following blog site:
https://blogs.sap.com/2015/01/12/blog-4-modelling-exceptions-in-integration-flows-hci-pi/

Regards,
Balázs

former_member537554
Participant

Hello Balazs,

The blog describes my current implementation: exception subprocess with error start, message end and a content modifier setting a custom message. This works, but the exception is labelled as "completed" in the message monitor. I would like to have the exceptions labelled as "failed" or "escalated", which is only possible with an error/escalation end but then the message gets overwritten.

I've learned that setting the header "CamelHttpResponseCode" controls the HTTP response code to the sender, perhaps there is a header or parameter as well for the labeling of messages in the message monitor?

Thanks in advance!

Bram