BPM Admin—Managing roles, organization units, and groups

In Chapter 1, Process Modeling, you defined roles and organization units. Roles authorize the people with a set of responsibilities (task) to perform. Later, you divide the tasks based on these roles by creating swimlane in the process. And each horizontal swimlane is associated with a role.

The method you adopted in Chapter 1, Process Modeling, for role assignment was static. However, there could be situations where a user is on vacation or leaves the organization, and in these cases you need to have new users to be assigned to roles in a dynamic fashion. You can assign users dynamically to roles using Oracle BPM workspace.

You have a user BusinessAnalystManager which will be assigned a Business Analyst role, as the user businessanalyst will be on vacation.

How to do it...

I. Manage roles

  1. Log in to Oracle BPM workspace (http://localhost:8001/bpm/workspace/) as WebLogic user.
  2. Click on the administration link.
  3. Click on Roles, in the Administration Areas panel on the left, to list all the different roles across all the deployed processes.
  4. Select SalesToContractDemo.BusinessAnalyst role and this will list the user assigned to the role. You can find that only businessanalyst user is assigned to SalesToContractDemo.BusinessAnalyst role.
  5. Click on the add icon on the lower panel, to add a user to this role.
    How to do it...
  6. Select users from the drop-down list and search for users. Select businessanalystmanager and click OK.
    How to do it...
  7. You will be back to the Roles page. Click on Apply.

II. Manage organization units

You can define organization units in Oracle BPM workspace and can define hierarchy of organization units too.

  1. Log in to Oracle BPM workspace (http://localhost:8001/bpm/workspace/) as WebLogic user.
  2. Click on Organization | Organization Units.
  3. Click on add button and from the list, select Root Organization Unit.
    How to do it...
  4. Enter Name of organization unit as APJ Sales Unit.
  5. Click on the add button and select Child Organization Unit to add a child organization to APJ Sales Unit.
    How to do it...
  6. Enter India Sales Unit for Name of the Child Organization .
  7. Click on Apply.
  8. Open JDeveloper in the default role.
  9. Go to the BPM project navigator and click on Organization in the SalesToContractDemo project, as shown in the following screenshot:
    How to do it...
  10. Check From Repository and click the browse button to open Organization Unit Lookup.
  11. Select the Application Server and search for all.
  12. You can find the Organization Units you have created.
  13. Select the one required and click OK.

    This way you can associate an organization unit with the project at deployment time from repository.

III. Creating Approval Groups

  1. Log in to the Oracle BPM workspace application as the WebLogic user.
  2. Click on the administration link at the top of the page.
  3. Click Approval Groups in Task Administration.
  4. Click on the green plus (+) icon next to Groups, and select Create Static.
    How to do it...
  5. In the Details section, enter Name of the group as SalesGroup and click on the green plus (+) icon to add members to the group.
  6. Search/browse for Members. This will open the Identity Browser.
  7. Select zonalmanager from the list. Let's have only one user belonging to this group at the moment.
    How to do it...
  8. Click OK.
  9. Click OK on the Add to Group box too.
  10. Click on the Apply button, and zonalmanager will now be a member of SalesGroup.

    Note

    Go to http://acharyavivek.wordpress.com to learn about Dynamic Approval Group.

IV. Managing organization roles

Organization roles are logical roles that define the members of an organization unit. They are groups of users specified by using a query. For example: all Members of SalesGroup belong to a logical Organization Role named SalesAgents.

  1. Go to Oracle BPM workspace and log in as the WebLogic user.
  2. Click on Organization Role as shown in the following screenshot.
  3. Click on the add icon to add an organization role.
  4. Enter Name as SalesAgents and select SalesGroup in the Grantees Group list.
    How to do it...
  5. Click on Apply.

There's more...

The following section will guide you through the necessary steps to revoke a role.

Revoking a role

  1. From the Business Process Workspace toolbar, select Administration. The Administration Areas panel appears.
  2. In the Organization panel, select Roles.
  3. Select a role. The Details panel displays the details for the selected role.
  4. Choose the member in the Members section and click on Revoke the role from user, group, or role.
  5. Click on OK.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.230.81