Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle BPM Suite 11g Developer's cookbook

You're reading from   Oracle BPM Suite 11g Developer's cookbook Over 80 advanced recipes to develop rich, interactive business processes using the Oracle Business Process Management Suite with this book and ebook

Arrow left icon
Product type Paperback
Published in Apr 2012
Publisher Packt
ISBN-13 9781849684224
Length 512 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Vivek Acharya Vivek Acharya
Author Profile Icon Vivek Acharya
Vivek Acharya
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Oracle BPM Suite 11g Developer's Cookbook
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
1. Preface
1. Process Modeling FREE CHAPTER 2. Process Implementation 3. Process Deployment and Testing 4. Business Rules in the BPM Process 5. Human Workflow in BPM Process 6. Process Simulation 7. Developing UI using Oracle ADF 8. Exception Management 9. BPM and SOA in Concert 10. End User Interaction 11. Manage, Monitor and Administer BPM Process Oracle BPM—Application Development Lifecycle
Approval Management

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. 1. Double-click Organization in the Project navigator. Project Editor will open the Organization window.

  2. 2. Select the Roles tab.

  3. 3. Click the "add" (+) icon to add roles.

  4. 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. 1. Click the Roles tab in Organizations.

  2. 2. In the Roles | Members section, choose User as the Type.

  3. 3. Click on Browse (Identity lookup browse).

  4. 4. Select the Application Server connection and Realm from the drop-down lists.

  5. 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. 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. 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. 1. Click Organization, in the Project navigator, and select the Organizational Chart tab.

  2. 2. Click + to add an organization unit root node, which will contain organization units based on geography; say FusionNXorganizationUnit:

  3. 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. 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. 1. In Organization, select the Organization Unit tab.

  2. 2. Scroll to Members Section. Select User as the Type and click Browse, to browse Identity Lookup.

  3. 3. Select Application Server and Realm.

  4. 4. In Search Pattern, search for all (*), with User Name as search string.

  5. 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. 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. 1. In the Organization Unit editor window, select the Calendar tab.

  2. 2. Click the "add" (+) icon to create a calendar, say FusionNXCal.

  3. 3. Click the created Calendar rule to define Time Zone and Work Days with hours:

  4. 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. 5. When you have finished the preceding steps, click Save.

Creating Holiday rules

Use the following steps to create a Holiday rule:

  1. 1. Open JDeveloper in the default role and go to View | Application Navigator.

  2. 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. 3. In the Project navigator go to Open Organization.

  4. 4. In the Organization Unit editor window, select the Holiday tab

  5. 5. Click the "add" (+) icon to create a Calendar, say FusionNXHolidayRule.

  6. 6. Select Holiday Rule and click the "add" (+) icon.

  7. 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. 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.

You have been reading a chapter from
Oracle BPM Suite 11g Developer's cookbook
Published in: Apr 2012
Publisher: Packt
ISBN-13: 9781849684224
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime