How to Configure a Deadline for an Activity

18-10 Modeling and Implementation Guide for Oracle Business Process Management To configure a timer event to use an interval: 1. Right-click the timer event.

2. Select Properties.

3. Click the Implementation tab.

4. Select Cycle.

5. Provide a time interval or select Use Expression and write an expression that returns an Interval. See Section 22.4, Writing Expressions in Timer Events for more information

6. Click OK.

18.7.4 What Happens When You Configure a Timer Event to Use an Interval

The timer event fires periodically, waiting the time the interval specifies. If the timer event is a start event or a non-interrupting boundary event, then it fires multiple times. If the timer event is an intermediate timer event or an interrupting boundary event, then it waits for the specified interval before firing, but it fires only one time. Handling Errors 19-1 19 Handling Errors This chapter describes how to handle errors that occur when running a business process. Oracle BPM provides you with an exception component that enables you to model errors and multiple BPMN structures that you can use to handle those errors while running the process. This chapter includes the following sections: ■ Section 19.1, Introduction to Error Handling ■ Section 19.2, Using Business Exceptions ■ Section 19.3, Using System Exceptions ■ Section 19.4, Typical Flow of an Exception ■ Section 19.5, Handling Exceptions in a Business Process ■ Section 19.6, Throwing Exceptions in Subprocesses or Reusable Processes ■ Section 19.7, Handling Exceptions in Subprocesses ■ Section 19.8, Handling Errors in a Peer Process Using Message Events

19.1 Introduction to Error Handling

There might be situations when an unexpected problem occurs causing your process to fail. There are two types of errors: system errors and process errors. System errors are the consequence of a failure in the software or hardware infrastructure where the BPMN Service Engine is running. A system error can have many causes. The following are examples of problems that can cause a system error: ■ Failure in the database connection ■ Connectivity loss ■ Problem with the hard disk To recover from system errors within the process flow you can use system exceptions. If you do not handle a system exception in your process, you can recover from them using the fault recovery system provided by Oracle Enterprise Manager. See Oracle Fusion Middleware Administrators Guide for Oracle SOA Suite and Oracle Business Process Management Suite for more information about the Oracle Enterprise Manager fault recovery system. Process errors are problems that interfere with the regular development of your process. For example, in a purchase order process, if there is no stock for the requested item then you cannot continue with the regular process flow. You can handle these