Facts A fact is an object with certain business data. Each time a routing slip

27-50 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite Use this option if you do not want to use any of the routing rules to determine task assignees. In this case, all the logic of task assignment is delegated to the external routing service. To use external routing 1. In the Assignment section, click the icon to the right of Task will go from starting to final participant .

2. Select Use External Routing from the list.

3. Click the Edit icon, as shown in

Figure 27–51 . Figure 27–51 Selection of Use External Routing The External Routing dialog appears, as shown in Figure 27–52 . Note: If you select Use External Routing in the Configure Assignment dialog, specify a Java class, and click OK to exit, the next time you open this dialog, the other two selections Route task to all participants, in order specified and Use Advanced Rules no longer appear in the dropdown list. To access all three selections again, you must delete the entire assignment. Designing Human Tasks 27-51 Figure 27–52 Use External Routing Dialog

4. In the Class Name field, enter the fully qualified class file name for example, the

org.mycompany.tasks.RoutingService class name. This class must implement the following interface: oracle.bpel.services.workflow.task.IAssignmentService

5. Add name and pair value parameters by name or XPath expression that can be

passed to the external service, as shown in Table 27–14 .

6. Click the Add icon to add additional name and pair value parameters.

27.3.7.4 Configuring the Error Assignee

Tasks can error for reasons such as incorrect assignments. When such errors occur, the task is assigned to the error assignee, who can perform corrective actions. Recoverable errors are as follows: ■ Invalid user and group for all participants ■ Invalid XPath expressions that are related to assignees and expiration duration ■ Escalation on expiration errors ■ Evaluating escalation policy ■ Evaluating renewal policy ■ Computing a management chain ■ Evaluating dynamic assignment rules. The task is not currently in error, but is still left as assigned to the current user and is therefore recoverable. Table 27–14 External Routing Field Description By Name Enter a name in the Name field and a value in the Value field. By Expression Enter a name and dynamically enter a value by clicking the icon to the right of the field to display the Expression Builder dialog.