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:

This BPL business process does the following:
-
The first <trace> element generates the message before assign.
-
The <assign> element tries to set SomeProperty equal to the expression 1/0. This attempt produces a divide-by-zero system error.
-
The business process ends and sends a message to the Event Log.
The second <trace> element is never used.
Event Log Entries
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>
}