|
| Copyright © Cloud Software Group, Inc. All Rights Reserved |
Unhandled errors halt the execution of a group and the error transition out of the group is taken. Figure 32 illustrates a process definition that waits for new text files, parses the files into an XML schema, then inserts the records into a database table.Figure 32 Propagating errors from a groupThe Generate Error activity can use any error schemas defined on the process to propagate a specific schema to the parent process. See Process Error Schemas for more information about process error schemas.When a process definition calls another process definition, the called process can encounter errors. Any unhandled errors encountered when executing the called process cause the called process to halt execution and return the error to the next highest exception scope. Figure 33 illustrates a process definition that waits for an incoming HTTP request that contains an order.Figure 33 Propagating errors from a called processThe error process variables contain the error information for the activity where the error occurred. Also, a process can define an error schema and use the Generate Error activity to propagate specific data to the parent process. See Process Error Schemas for more information about process error schemas.
|
| Copyright © Cloud Software Group, Inc. All Rights Reserved |