Skip to Content
0
May 07, 2010 at 03:41 AM

Read payload for error messages and throw a red flag in SXMB_MONI

47 Views

Hello All,

I am calling a synchronous web service from PI ccBPM and getting a response back to PI ccBPM itself.

So the steps in BPM are receive(from CRM), sync step (to call web service) and a control step (to end the BPM process).

The requirement is to check if error_list node in the response from web service call has a value in it and throw an error in SXMB_MONI so that they can easily identify how many messages errored out out of thousands of messages.

This is the response structure for web service if there are errors.

<manageResponse>

<result>

<ErrorList>

<object>

<hyatt>partnerupdate--NR</hyattt>

<Message />

<Operation>jukio</Operation>

<User>atuser</User>

</object>

</ErrorList>

</result>

</manageResponse>

Again I only need to see if error_list is not empty and throw a red flag error in SXMB_MONI.

Thanks

Mike