Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8533

Re: B1if / Send email when error occurs

$
0
0

This is my scenario step. It is a step executed by a timer. Outbound is now set to void instead of n.a

 

scenario_step.JPG

With outbound set to void, if the httpcall return an error ( httpcode <> 200 ), no error is thrown ( see below ).

 

<Payload Role="C" id="atom3" statusNo="HTTP403" statusMsg="Forbidden" reference="atom5" sysid="" payload="atom5" throwException="false"

  <http.header/>

  <httaError xmlns="urn:com.sap.b1i.xcellerator:upltdoc" HTTPcode="403" HTTPmsg="Forbidden">

  <exceptionMsg>java.io.IOException: Server returned HTTP response code: 403 for URL: http://test.infor-bs.com:80/extranet/rest/manageUsers?identifier=value</exceptionMsg>

  <returnData>{ Message: "Not authorized" }</returnData>

  </httaError>

  </Payload>

 

I will try adding an email atom to send a report when process end.

 

I also added an error handling scenario. How to test it ?

 

Best regards,

 

Gregory Borysiak


Viewing all articles
Browse latest Browse all 8533

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>