Building a Change Request Workflow Model

Overview

Purpose

This tutorial demonstrates how to configure metadata and security for governance workflows in Oracle Data Relationship Management.

Time to Complete

Approximately 30 minutes.

Introduction

In this tutorial, you add a governance user and assign the user to a new workflow node access group. Next, you create a workflow task and workflow model for a new type of change request. During the creation of the workflow model, you define workflow stages to control how the request gets submitted, approved, and committed. You also define filters for the workflow model to restrict requests to a specific version, hierarchy, and node types. After the workflow model is created, you assign workflow node access groups to hierarchies used by the workflow model and extract the workflow metadata for lifecycle management purposes.

Prerequisites

Before starting this tutorial, you should:

  • Have access to or have installed Oracle Data Relationship Management 11.1.2.3.301.
  • Have access to or have installed the COAMGT Data Relationship Management application. You can download the application here and use these instructions to install and configure the application.

Adding a Governance User

  1. Launch Data Relationship Management Web Client.

    The Logon page

    The logon page for Oracle Data Relationship Management is displayed.

  2. Log on to the COAMGMT application as user admin with a password of Welcome!.

    The Worklist page
  3. Click Administer .

    Administer Task group

    The Administer Task Group page is displayed.

  4. Select New and then User.

    Add New User
    New User tab

    The New User tab is displayed.

  5. Perform the following actions:

    1. Define the following values for the new user:
      • Name = BJones
      • Full Name = Bob Jones
    2. On the Roles tab, select the Governance User role and click the Select button (Select) to select the role.

    User Details
  6. Click the Save button (Save).

    Update Request Item

    The Change User Password dialog box is displayed.

  7. In the New Password text box and in the Re-enter New Password text box, type Welcome! and click OK.

    BJones tab

    The New Request tab is changed to BJones.

  8. Close the BJones tab. You are navigated back to the Administer page.

Creating a Workflow Node Access Group

  1. Select New and then Node Access Group.

    New Node Access Group
    New Node Access Group Tab

    The New Node Access Group tab is displayed.

  2. Perform the following actions:

    1. Define the following values for the new node access group:
      • Name = Accounting
      • Label = Corporate Accounting
      • Group Type = Workflow
    2. On the Users section, select BJones and click the Select button (Select) to select the user.

    Node Access Group Details
  3. Click the Save button (Save).

    Update Request Item

    The New Node Access Group tab is changed to Corporate Accounting.

  4. Close the Corporate Accounting tab. You are navigated back to the Administer page.

Creating a Workflow Task

  1. Select New and then Workflow Task.

    New Workflow Task
    New Workflow Task Tab

    The New Workflow Task tab is displayed.

  2. Define the following values for the new workflow task:

    • Name = Inactivate Product
    • Label = Inactivate Product (this is the default value)
    • Instructions = Define an effective End Date for the product to be inactivated.
    • Action Type = Inactivate
      Note that there are no default properties selected for the Inactivate task.
    New Workflow Task Details
  3. On the Properties tab, verify that System is selected in the Property Category drop-down list, select the Name and Description properties, and then click the Select button (Select) to select the properties.
    Selected System Properties
  4. On the Properties tab, from the Property Category drop-down list select Oracle General Ledger.
    Oracle General Ledger
  5. In the Available list of properties, select the Start Date and End Date properties and click the Select button (Select) to select the properties.
    Selected Properties
  6. In the Action column for the End Date property, click the Edit button (Edit).
    Selected Properties
  7. Select the Editable and Required options and click the Update button (Update).
    Selected Properties
  8. Select the Validations tab.
    Validation Tab
  9. From the Available list, scroll to the bottom and select theStart Date Before End Date validation. Click the Select button (Select) to select the validation.
    Validation Tab
  10. In the Action column for the validation, click the Edit button (Edit).
    Selected Properties
  11. In the Properties drop-down list, select the End Date property.
    Selected Properties
  12. Click Close and then click the Update button (Update) to save the changes.
    Selected Properties
  13. Click the Save button (Save).

    Inactivate Product Tab
  14. Close the Inactivate Product tab. You are navigated back to the Administer page.

Creating a Workflow Model

  1. Select New and then Workflow Model.

    New Workflow Model Menu Item
    New Workflow Model Menu Item

    The New Workflow Model tab is displayed. On the Workflow Stages tab, note that there are two default stages (Submit and Commit) that are required in every workflow model.

  2. Define the following values for the new workflow model:

    • Name = Inactivate Product
    • Label = Inactivate Product (this is the default value)
    • Description = Inactivate an existing product that is no longer sold or supported
    New Workflow Model Details

Defining Workflow Stages for a Model

  1. For the Submit stage in the Action column, click the Edit button (Edit).

    Request Submitted

    The Submit stage row is enabled for editing.

  2. Define the details of the Submit workflow stage using the following values:

    • Label = Inactivate Request
    • Stage = Submit
    • Workflow Task = Inactivate Product
    • Node Access = VisionWorkflow
    • Workflow Method = Any Group (any group assigned can approve, only one approval required)
    • Re-Approval = All (a pushed back request must be approved by all stages after it)
    • Notify = Assignees (users assigned to the stage are notified of activity in that stage)

    Submit Stage
  3. Click the Update button (Update) to save the changes.

    Submit Stage Edited
  4. Click the Add button below the workflow stages grid to add a new workflow stage.

    Submit Stage Edited
  5. Define the details of the new workflow stage using the following values:

    • Label = Approve Inactivate
    • Stage = Enrich (users can approve or reject the request as well as edit it)
    • Workflow Task = Update Product
    • Node Access = Accounting and PlanningWorkflow (the Accounting group must approve and the PlanningWorkflow group only be notified)
    • Workflow Method = All Groups (all assigned groups with stage access must approve)
    • Re-Approval = All
    • Notify = Assignees and Participants (assignees and previous participants are notified)

    Approve Inactivate Stage Details
  6. Click the Update button (Update) to save the changes.

    Approve Inactive Stage Edited
  7. For the Commit stage in the Action column, click the Edit button (Edit).

    Commit Stage

    The Commit stage row is enabled for editing.

  8. Define the details of the Commit workflow stage using the following values:

    • Label = Commit Inactivate
    • Stage = Commit
    • Workflow Task is not selectable.
    • Node Access = COAMgrWorkflow
    • Workflow Method = Any group
    • Re-Approval = All
    • Notify = Participants (Previous participants of the request are notified)

    Approve Inactivate Stage Details
  9. Click the Update button (Update) to save the changes.

    Approve Inactive Stage Edited
  10. Click the Save button (Save) at the top of the workflow model page to save the workflow model.

    Inactivate Product Tab

    The New Workflow Model tab is changed to Inactivate Product.

Defining Filters for a Model

  1. Select the Filters tab and perform the following actions:

    1. From the Version Variable drop-down list, select Version Current Period [Vision Jan 2013] variable.
      Version Variables
    2. From the Hierarchy Group Property drop-down list, select Hierarchy Group.
      Hierarchy Group Property
    3. From the Hierarchy Group drop-down list, select Product.
      Hierarchy Group
    4. In the Node Types section, in the Available list, select Product and click the Select button (Select) to select the node type.
      Selected Node Types
  2. Click the Save button (Save) at the top of the workflow model page to save the workflow model.

Defining the Request Duration and the Claim Duration Options

  1. View the Request Duration and Claim Duration options for the workflow model.

    Worklist

    Both options are set to zero by default.

  2. In the Request Duration box, type 7. This setting enables a request to be marked as Overdue after it is over 7 days old. This setting can be overriden at the request level using the Due Date workflow tag.

  3. In the Claim Duration box, type 2. This setting enables a request to be claimed by a user for a maximum of 2 days before it gets automatically unclaimed to allow other users to get involved to keep the request moving.

    Opened request
  4. Click the Save button (Save) at the top of the workflow model page to save the workflow model.

  5. Close the Inactivate Product tab. You are navigated back to the Administer page.

Assigning Workflow Access Groups to Hierarchies

  1. In the navigation menu on the Home tab, click Browse.

    The Worklist page
  2. From the Find dropdown list, select the Vision Current Period [Vision Jan 2013] variable.

    Selecting Vision Current Period variable
    Vision Jan 2013 Hierarcies

    The Vision Jan 2013 hierarchies are displayed.

  3. On the Hierarchies tab, expand the Product hierarchy group.

    Validation Failed
  4. Double click Total Product to open the hierarchy.
    Note: Load the version if prompted.

    Validation Error Message

    The Total Product - Vision Jan 2013 tab is displayed.

  5. Right click on the top node of the hierarchy, select Assign, and then select Node Access from the drop-down menu.

    Cleared End Date
    The Update Financial Account workflow stage is completed
  6. On the Properties tab, from the Category drop-down list, select Leaf Access.
    Leaf Access Category
  7. Perform the following actions:

    1. Select Vision Workflow (Leaf), and then from the Value drop-down list select Submit. This selection enables the workflow access groups assigned to the Submit stage of the workflow model to submit requests for leaf nodes under the top node in the Total Product hierarchy.
    2. Select Corporate Accounting (Leaf), and then from the Value drop-down list select Enrich. This selection enables the workflow access group assigned to the Enrich stage of the workflow model to approve and edit requests for leaf nodes in the Total Product hierarchy.
    3. Select Planning Workflow (Leaf), and then from the Value drop-down list select Notify. This selection enables the workflow access group assigned to a stage in the workflow model to only be notified of requests for leaf nodes in the Total Product hierarchy.
    4. View the COA Manager Workflow (Leaf) group and note that the group already has the Commit access. This selection enables the workflow access group assigned to the Commit stage of the workflow to commit requests for leaf nodes in the Total Product hierarchy.

    Assigned Node Types
  8. Click the Save button at the bottom to save the access assignment changes.

  9. Close the Total Product - Vision Jan 2013 tab and log out as user admin.

Extracting Workflow Metadata for Migration

  1. In the Address bar of the web browser, enter the following URL to access the Data Relationship Management Migration Utility:

    http://<yourhostname>/drm-migration-client.

    Worklist

    The Data Relationship Management Migration Utility home page is displayed.

  2. Click Extract and enter connection information to the COAMGMT application.

    Opened request
  3. Click Log In.

    Claimed request

    The list of metadata and security object categories in the COAMGMT application is displayed.

  4. Expand the Node Access Group folder to view the list of node access groups and select Custom.Accounting.

    Custom Accounting
  5. Expand the Workflow Models folder to view the list of workflow models and select Inactivate Product.

    Inactivate Product Workflow Model
  6. Expand the Workflow Tasks folder to view the list of workflow models and select Inactivate Product.

    Inactivate Product Workflow Task
  7. Click Next and view the dependecies for the metadata and security objects to be extracted.

    Metadata and Security Objects Dependencies
  8. For the Inactivate Product workflow model, select Include Dependencies from the drop-down list.

    Included Dependencies
  9. Click Next and enter the following metadata details:

    • Title = Inactivate Product Workflow Model
    • Purpose = Migrate metadata and security objects for a workflow model used for the inactivation of products.
    • Usage = This file should only be loaded into a new target application. to load into the existing application, first compare the file to the target application using the Difference feature.
    • Application Version = 11.1.2.3
    • File Version = 1.0

    Metadata and Security Objects Dependencies
  10. Click Run Extract.

    Extracted Metadata
  11. Click View the Metadata file.

    Metadata File
  12. Click Logout to log out as user admin.

Summary

In this tutorial, you learned how to:

  • Add a governance user and assign the user to a new workflow node access group.
  • Create a workflow task and workflow model for a new type of change request.
  • Define workflow stages to control how the request gets submitted, approved, and committed.
  • Define filters for the workflow model to restrict requests to a specific version, hierarchy, and node types.
  • Assign workflow node access groups to hierarchies used by the workflow model and extract the workflow metadata for migration purposes.

Resources

To navigate this Oracle by Example tutorial, note the following:

Topic List:
Click a topic to navigate to that section.
Expand All Topics:
Click the button to show or hide the details for the sections. By default, all topics are collapsed.
Hide All Images:
Click the button to show or hide the screenshots. By default, all images are displayed.
Print:
Click the button to print the content. The content that is currently displayed or hidden is printed.

To navigate to a particular section in this tutorial, select the topic from the list.