Skip to main content

System Error with No Fault Handling

System Error with No Fault Handling

The following is an example of a BPL business process that produces an error condition and provides no error handling:

BPL diagram with the following shapes in order: start, empty trace, assign, empty trace, end

This BPL business process does the following:

  1. The first <trace> element generates the message before assign.

  2. The <assign> element tries to set SomeProperty equal to the expression 1/0. This attempt produces a divide-by-zero system error.

  3. The business process ends and sends a message to the Event Log.

    The second <trace> element is never used.

Event Log Entries

The corresponding Event Log entries look like this.

Two error messages stacked on top of each other

For background information, see Event Log.

XData for This BPL

This BPL is defined by the following XData block:

XData BPL
{
<process language='objectscript'
         request='Test.Scope.Request'
         response='Test.Scope.Response' >
  <sequence>
    <trace value='"before assign"'/>
    <assign property="SomeProperty" value="1/0"/>
    <trace value='"after assign"'/>
  </sequence>
</process>
}
FeedbackOpens in a new tab