Introduction to Advanced Task Routing Using Business Rules You can define state

Designing Human Tasks 27-49 Figure 27–49 Creating a Rules Dictionary This starts the Oracle Business Rules Designer with a preseeded repository containing all necessary fact definitions, as shown in Figure 27–50 . A decision service component is created for the dictionary, and is associated with the task service component. Figure 27–50 Human Task Rule Dictionary

4. Define state machine routing rules for your task using Oracle Business Rules.

This automatically creates a fully-wired decision service in the human task and the associated rule repository and data model. For more information about business rules, see the following documentation: ■ Section 27.3.7.2.4, Sample Ruleset for an example human task ruleset ■ Oracle Fusion Middleware Users Guide for Oracle Business Rules ■ Oracle Fusion Middleware Language Reference Guide for Oracle Business Rules

27.3.7.3 Using External Routing

You configure an external routing service that dynamically determines the participants in the workflow. If this routing policy is specified, all other participant types are ignored. It is assumed that the external routing service provides a list of participant types single approver, serial approver, parallel approver, and so on at runtime to determine the routing of the task. 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.