cancel
Showing results for 
Search instead for 
Did you mean: 

Cloud ALM Integration Suite alerts for Completed messages with Custom Status

Chris_Lumb
Explorer
0 Kudos

Dear All,

We are looking at implementing an HTTPS iFlow in SAP Cloud Integration which accepts and returns XML from a customer. If we need to return an error message to the customer we return some XML e.g.

<cxml>

<status>403</status>

</cxml>

Because we return this XML the iFlow cannot simply throw an exception - it needs to end successfully, thus the Messaging Processing Log (MPL) shows as Status = COMPLETED (success).

My intention is to use the SAP-delivered field SAP_MessageProcessingLogCustomStatus "Custom Status" to record the outcome, this will record our error status even though the Status field = COMPLETED.

We have a business requirement to trigger an alert to be actioned when these errors happen. Presently in SAP Business Connector we just trigger an email within our flow, obviously we could do this with Cloud Integration but I wondered if this was possible with Cloud ALM.

I have set up Integration Monitoring in ALM for Cloud Integration however it seems that events will only be generated for Status = ERROR. The Expert Portal (https://support.sap.com/en/alm/sap-cloud-alm/operations/expert-portal/integration-monitoring/calm-cpi.html) offers "Erroneous CPI Message Detected(Single)" - from what I can see this is only triggered when a message has status FAILED.

I'm think I will have to implement error handling in the iFlow, perhaps by pushing to a JMS Queue/Data Store and having a separate iFlow polling the queue/store.

Does anyone have any experience with this? Thanks, Chris

Accepted Solutions (0)

Answers (1)

Answers (1)

VijayKonam
Active Contributor
0 Kudos

Did you try returning this custom XML but end the iFLow in an escalated end status? That may kick an event to cALM at the same time, a response to your customer as well.

Chris_Lumb
Explorer
0 Kudos

Thank you Vijay. I created an iFlow ending in the Escalation End Event however this has not worked as I require:

- The iFlow returns HTTP 500 with message "An internal server error occured: The MPL ID for the failed message is : <MPL ID>" - just as how the Error End Event behaves. The message body I set in a Content Modifier has been ignored.

- In Cloud ALM I see the failed message in Integration & Exception Monitoring > Monitoring as red (error) with status ESCALATED *but* it did not trigger an alert in Cloud ALM.

I appreciate your suggestion but it's not giving me the desired outcome.

amontella96
Active Contributor
0 Kudos

hey chris.lumb are you still having this issue ? if yes, are other alerts triggered ?

Let me know and I'll try to see if i can reproduce the issue in my calm, cheers!A

Chris_Lumb
Explorer

Hi @amontella96 , we put this on hold as priorities within my organisation changed but thank you for replying.