Click the Delete icon.

Performing Administration in Process Workspace 8-23

8.4.2.6 How to Move an Approval Group’s Members

To change the sequence order of an approval group: 1. Choose a member node to move. 2. Use the Push Member Up and Push Member Down v icons to move the member to the desired location.

8.4.2.7 How to Nest Approval Groups

Nesting an approval group means making it part of another approval group. To nest an approval group: 1. Click the Add icon. 2. Select Approval Group. 3. Click the magnifying glass. Another Add to Group dialog box appears. 4. From the left pane, choose the approval group you want to add. Its structure appears in the right pane.

5. Click OK.

6. Click OK again to close the Add to Group dialog box.

The new approval group appears in the approval group’s structure.

8.4.2.8 How to Rename an Approval Group

To rename an approval group: 1. Enter the new name of the approval group in the Name field. 2. Click Apply. The name change is reflected in other approvals groups in which this approval group is nested.

8.4.2.9 Using Dynamic Approval Groups

Dynamic Approval Groups provide a way to create approval groups through a custom Java class at runtime. This requires the following: ■ Writing a custom dynamic approval group class for the custom implementation by the developer ■ Registering the custom dynamic approval group using the worklist apps UI by the IT department ■ Making the class file available in a globally well known directory that is part of the SOA class path

8.4.2.9.1 How to Write a custom Dynamic Approval Group Class To define a dynamic

approval group, the user must define an implementation class using the interface file IDynamicApprovalGroup.java , defined by AMX for dynamic approval groups in the package oracle.bpel.services.workflow.task. This package contains only one public method that gets the approval group members. The Task object will be the only input parameter. The primary key list can be obtained from the task tasksystemAttributescollectionTarget. 8-24 Oracle Fusion Middleware Users Guide for Oracle Business Process Management Example 8–1 Implementation Class IDynamicApprovalGroup.java public interface IDynamicApprovalGroup { Get members of this dynamic approval group param task Property bag containing information required to generate the approver list return list of IApprovalListMember including sequence, member, member_ type; null for empty group The primary key list can be obtained from task: tasksystemAttributescollectionTarget public List getMembersTask task throws WorkflowException; } Figure 8–15 shows a code snippet for a sample dynamic approval group class. Figure 8–15 Code for Dynamic Approval Group Class