How to View Approval Groups

Using Approval Management 26-61

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

The new approval group appears in the approval group’s structure, as shown in Figure 26–71 . Figure 26–71 Nested Approval Groups

26.5.3.8 How to Rename an Approval Group

The following procedure explains how to rename an approval group.

1. Enter the new name of the approval group in the Name field.

2. Click Apply.

The name change also is reflected in other approvals groups in which this approval group is nested.

26.5.3.9 Using Dynamic Approval Groups

Dynamic Approval Groups provide a way to create approval groups through a custom Java class at run time. 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

26.5.3.9.1 How to Write a custom Dynamic Approval Group Class to define a dynamic

approval group, the customer 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 contains only one public method that gets the approval group members. The Task object is the only input parameter. The primary key list can be obtained from the task tasksystemAttributescollectionTarget. Example 26–6 Implementation Class IDynamicApprovalGroup.java 26-62 Modeling and Implementation Guide for Oracle Business Process Management 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 26–72 shows a code snippet for a sample dynamic approval group class.