Defining Role and Organization Units
Once finished with defining a process model, you, as Process Analyst, will define the roles (who will perform which responsibility/task) and Organization Units (Organization association, Calendar rules, and Holiday rules). You will define Application Roles in the BPM Studio, and those Application Roles are mapped to organizational users.
Getting ready
Roles authorize the people with a set of responsibilities (tasks) to perform. Later, you divide the tasks based on these roles by creating swimlanes in the process. Each horizontal swimlane is associated with a role.
The roles we will create in Project | Organization are logical roles. LDAP defines the actual users, and during deployment of BPM projects, logical roles are mapped to LDAP roles. Use BPM Studio to map roles to specific users using LDAP.
How to do it...
Now, you have created Application and Project. You already know the Process Flow. Let's create the processes. However, we still don't know "who will perform what", that is, the roles yet need to be defined. Let's organize our Processes, based on roles and Organization Units. Every process has some task/work to be performed. It's the Roles that help decide who has the responsibility to perform the task/work.
Creating a Role
You will create application roles, and later, these roles will be mapped to organizational users. This is done as follows:
1. Double-click Organization in the Project navigator. Project Editor will open the Organization window.
2. Select the Roles tab.
3. Click the "add" (+) icon to add roles.
4. The role name dialog appears. Enter Name of the role, say
Sales Representative
. Repeat this step to create other roles listed.
Associating Roles with members
Here, you will map Application Roles to organizational users. This is done as follows:
1. Click the Roles tab in Organizations.
2. In the Roles | Members section, choose User as the Type.
3. Click on Browse (Identity lookup browse).
4. Select the Application Server connection and Realm from the drop-down lists.
5. In Search Pattern, specify *(search all) and select User Name from the drop-down list as the search string. This will list all the users in the Realm.
6. Select the User. As you are associating members to the Sales Representative role, choose a user (member) meant to perform the Sales Representative role.
7. Repeat the preceding steps for all the users and associate them with members.
Note
However, in actual scenarios, Process Analysts need not know which user in the organization is mapped to application roles. This assignment is typically done by Process Admins through the Worklist Application or EM.
Creating Organization Units
Organization units represent a division in an organization, and once defined, process participants might be assigned to one of the organizational units. This is done as follows:
1. Click Organization, in the Project navigator, and select the Organizational Chart tab.
2. Click + to add an organization unit root node, which will contain organization units based on geography; say FusionNXorganizationUnit:
3. Let's say your Sales Representative is from APJ | India. However, for his/her sales quote he/she needs approvals from the APJ head.
4. When you have finished the preceding steps, click Save.
Associating members to Organization Units
The Organization Units and Roles defined in BPM Studio are abstract. They need to be mapped to your real-world organization FusionNX. During deployment of your project, the components of the modeled organization and roles are mapped to your real-world organization:
1. In Organization, select the Organization Unit tab.
2. Scroll to Members Section. Select User as the Type and click Browse, to browse Identity Lookup.
3. Select Application Server and Realm.
4. In Search Pattern, search for all (*), with User Name as search string.
5. When users are listed, choose the appropriate user to associate with the Organization Unit. Say, for APJ | India, associate Sales Representative user and APJ with Approvers.
6. When you are finished, click Save.
Creating Calendar Rules for Organization Units
In this section, you will define the working hours of an individual, as follows:
1. In the Organization Unit editor window, select the Calendar tab.
2. Click the "add" (+) icon to create a calendar, say
FusionNXCal
.3. Click the created Calendar rule to define Time Zone and Work Days with hours:
4. Chose the Work Days by selecting the checkbox, and specify the Starting Time and Finish Time for each day.You can include an optional Holiday rule for Calendars.
5. When you have finished the preceding steps, click Save.
Creating Holiday rules
Use the following steps to create a Holiday rule:
1. Open JDeveloper in the default role and go to View | Application Navigator.
2. Select FusionNX_Application, which you have just created, and select the SalesQuoteToContractDemo project, which you have already created. This is the Project navigator.
3. In the Project navigator go to Open Organization.
4. In the Organization Unit editor window, select the Holiday tab
5. Click the "add" (+) icon to create a Calendar, say FusionNXHolidayRule.
6. Select Holiday Rule and click the "add" (+) icon.
7. Provide the following details for the Holiday rule, and then click OK.
Description: Fill in a description of the Holiday rule
Type: Common (Common/Fixed)
Date: This refers to the dates for this Holiday rule. To specify a range, you must create a new entry for each day
8. When you have finished the preceding steps, click Save.
How it works...
Creating roles works only when Process Analyst has the Process Flows defined. This has resulted in the following list of Roles:
Sales Representative
Business Analyst
Approvers
Contracts
Roles are defined in Organization Resources inside the BPM Project. Check the preceding screenshot of the Project navigator; you can identify Organizational Chart in it. Organizational Chart is used to define Roles, Organization Units, Calendar Rules, and Holiday rules.
Associating roles to members allows you to define what members of your real-world organization are responsible for performing the activities and tasks within your process.
FusionNX operates in multiple geographical locations and has sales units that are divided based on geography, say America, EMEA, APJ, and so on. Hence, organization units were categorized by geography. You know that the Sales Representative is from APJ in the India Organization Unit and that the Approver is from APJ.
To define when resources are working in an Organization, create Calendar rule, and to define when resources are not working, define Holiday rules in an organization.