Академический Документы
Профессиональный Документы
Культура Документы
Contents
Oracle BPM Suite 11g People Assignment ..................................................................... 1 1 Oracle BPM Suite 11g People Assignment .............................................................. 1 1.1 Concepts ............................................................................................................................... 1 1.1.1 1.1.2 1.1.3 1.1.4 1.2 1.2.1 1.2.2 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.5 BPM Process Roles (Logical Roles)........................................................................... 1 Organization Unit ......................................................................................................... 2 Extended User Properties ........................................................................................... 2 Parametric Roles ........................................................................................................... 3 Scope ............................................................................................................................... 3 Whats Included ............................................................................................................ 3 Context ........................................................................................................................... 3 Overview ........................................................................................................................ 4 Create Purchase Requisition by Employee ............................................................... 4 Approve Purchase Request ......................................................................................... 5 Approve Spec by IT ..................................................................................................... 7 Approve funding by IT................................................................................................ 8 BPM Roles & Members ............................................................................................... 8 Set up and add members to Organization Units ..................................................... 9 Set up Extended User Properties ............................................................................. 10 Set up Parametric Roles ............................................................................................. 11
Set up..................................................................................................................................... 8
Testing................................................................................................................................. 11
1.1
Concepts
The swim lanes in a BPMN process represent a logical Role. The assignees or participants of the human tasks dropped in to this swim lane in most cases are derived from the swim lane role. These logical Roles have to be mapped to a physical LDAP user or group before the BPMN process can be deployed to a run-time. The logical Roles can be specific to a process or can be shared across processes in a project. This can be either accomplished inside BPM Studio or inside BPM Workspace if you have Administrator privileges. Inside BPM Studio, Each Project in addition to having a Processes folder also has an Organization folder. This node is used to define the BPM Roles, mapping of LDAP Users & Groups as members to the BPM Role. http://download.oracle.com/docs/cd/E21764_01/user.1111/e15175/bpmug_ws_admin.htm#BAJ JBCEE Figure shows defining Roles and members of a Role inside BPM Studio
With Oracle BPM 11g R1 PS4 FP release, the logical Roles can be shared as shown in the figure below. You can also specify escalations for each Role.
Oracle BPM Suite 11g People Assignment 1
Figure shows defining Roles and members of a Role inside BPM Workspace Administration Panel.
members inside the BPM Workspace. These extended user properties can be used to filter members of a Role by evaluating conditional expressions based on these properties. For example, the extended user properties can be Location, Job skills, Priority, Languages, Job Level etc and you can define conditions such as this step can be performed only by a support person in New Mexico, whose Job Level is manager, Language is Spanish etc. http://download.oracle.com/docs/cd/E21764_01/user.1111/e15175/bpmug_ws_admin.htm#BAJDJAHC
1.2
Sample Overview
1.2.1 Scope
This sample covers Organization Unit, Parametric Roles & Extended User Properties, Sticky User and Participant Exclusion List. Note: This sample will work with Oracle BPM 11 g R1 PS4 FP release and above.
PurchaseRequisition BPM Project that includes the Purchase Requisition process. CreatePurchaseReq ADF Project that contains the User Interface for the first human process step of the Purchase Requisition BPM Project. All other human steps are not associated with a UI Project.
1.3
1.3.1 Context
1.
2.
3.
Participant Exclusion List: This is the opposite of Sticky User. You specify the Participant Exclusion List in the human workflow task definition when you want to filter out the member who acted on the previous human step in a specific swimlane role to not work on the subsequent step in the same swimlane.
1.3.2 Overview
Every employee is required to submit a purchase requisition request to be approved through his management chain as well as the IT department before it can be fulfilled. The request contains details such as: Requisition Id Requisition Date Requestor Org Requisition Value Requisition Status Priority Location Item o o o o Item Id Item Type Item Price Quantity
In addition to mapping the output of the Create Purchase Requisition process step to the purchaseReqProcess Data Object, the Organization Unit of the process instance is set to the organizationUnit Predefined Variable. The process instance after this step is tied to the Organization Unit contained in the incoming process instance payload. Please refer to Set up section to understand how to define Organization Units and members of an Organization Unit in BPM Workspace.
. Use BPM XPATH Expressions getLastPerformer() to access the employee id of the employee who submitted the purchase request. Then use Identity XPATH functions to set the assignees to manager and managers manager of the employee who has submitted the request.
Open up the associated Human workflow Task definition to understand the role assignment. This is captured in the screen shot above. The assignment is based on Parametric Role. The role is set to the swimlane role (all members of the swimlane role), the location property of the Parametric Role is set to the location attribute of the incoming purchase request payload and the priority of the Parametric Role is set to the priority attribute of the incoming purchase request payload. The Organization Unit for the process instance was set in the previous step. So, only those members who belong to the swimlane Role as well as the Organization Unit of the process instance and whose properties location and priority match with the incoming request can work on this process step. Please refer to Set up section to understand how to define Parametric Roles and Extended User Properties for members in BPM Workspace.
1.4
Set up
http://download.oracle.com/docs/cd/E21764_01/user.1111/e15175/bpmug_ws_admin.htm#BAJDJAHC The Extended User Properties and possible values are defined in the top half section. The values of various Extended User Properties for the members are defined in the bottom half section. Note: Currently the Extended User Properties can be only of type String or Number (Integer). Further, there can be only one set of Extended User properties for a given member.
10
1.5
Testing
1.
Go to BPM Workspace. Log in as jcooper. Submit a purchase requisition request. Set the Priority to 1, Location to CA, organization Unit to North America IT in the purchase
11
requisition request. Other fields can have any valid values. Upload 2 documents (create dummy word documents) as attachments to UCM.
2. 3. 4. 5. 6. 7.
Login to the BPM Workspace as jstein, who is jcoopers manager and approve the request. Logout and login as wfaulk, who is jsteins manager, and approve the request. Login as jausten and approve the spec Log in as eheming and approve the funding (You can also log in as jausten you will see the task but the Actions will not have APPROVE option). In the EM console, check the process flow. You should see the completion of the process. Try changing the location and priority as well as Organization Unit and test if the right members are assigned to the Approve Spec and Approve funding tasks.
12