Skip to Content

HCP HCI Web UI: How to trace iFlow message payload?

Feb 25, 2017 at 05:51 AM


avatar image

I was wondering if one of the HCI experts could tell me if there is a way to trace and show the payload of iFlow messages via the Web UI?

I know you can do this in Eclipse, but it would be nice to be able to do it via the Web UI too.


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Sriprasad Shivaram Bhat Feb 25, 2017 at 06:46 AM

Hello Simon,

Trace option is not ye available in WEBUI.As an alternative you can use below script to log the payload as attachment wherever you want like before map or after map.

import java.util.HashMap;

def Message processData(Message message) {
                                def body = message.getBody(java.lang.String) as String;
                                def messageLog = messageLogFactory.getMessageLog(message);
                                if(messageLog != null)
                                messageLog.addAttachmentAsString("PayloadBeforeMap, body, "text/xml");
                return message;


Sriprasad Shivaram Bhat

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thanks Sriprasad! That is what I suspected, thanks for the script, that will help.