Book Image

Oracle BPM Suite 12c Modeling Patterns

By : Vivek Acharya
Book Image

Oracle BPM Suite 12c Modeling Patterns

By: Vivek Acharya

Overview of this book

Table of Contents (19 chapters)
Oracle BPM Suite 12c Modeling Patterns
Credits
Disclaimer
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Getting ready for executing use cases


This section talks about the steps that we will perform to get ready to execute the use cases demonstrated in this chapter. As we check SalesQuoteProcess, there are various human tasks. The following is the list of roles associated with the human task and users associated with the role:

Task

Role

User

Accept Quote

Salesrep

salesrep

Business Review

Business practice

fkafka

Approvers

Approvers

jcooper

Contracts

Contracts

jstein

We have to perform the following steps to execute the processes that have human task:

  1. Log in to the WebLogic console and navigate to myrealm (embedded LDAP).

  2. Click on the User and Group tab.

  3. Verify that we have the aforementioned listed users in myrealm. If not, we can create users (salesrep, fkafka, jcooper, and jstein) in myrealm.

    Note

    If we execute demo community that is installed while configuring Oracle BPM 12c, we will get users (fkafka, jcooper, and jstein). However, we can follow the preceding steps and create a user (salesrep).

  4. Open JDeveloper and navigate to Organization in SalesQuoteProject.

  5. Click on Roles and associate users to roles as listed in the preceding table. Save the changes.

Human tasks are executed with respect to organization units. Hence, we will create an organization unit and associate the users to it. We will also make sure that the organization unit is passed to the process when the process executes. Execute the following steps:

  1. Log in to the Oracle BPM workspace as an admin user (weblogic).

  2. Navigate to Administration | Organization | Organization Units.

  3. Click on the + icon to create a root organization.

  4. Enter the name of the organization as SalesOrg.

  5. In the Members section, add the users we listed in the preceding table. To add users, we can browse the myrealm LDAP.

  6. When users are added, we can save the changes. This process is shown in the following screenshot:

  7. Go back to JDeveloper and open SalesQuoteProcess.

  8. Click on the Message Start Event (Start) and open its properties.

  9. Go to the Implementation tab and open data association.

  10. On the right-hand side of data association, scroll to the predefined variable (Organization Unit).

  11. Assign the newly created organization units, SalesOrg, to the predefined variable (Organization Units) and save the project. This is demonstrated in the following screenshot: