Creating and Customizing a Workflow Configuration File

Configuring Oracle Enterprise Repository Workflow 9-41 This section contains the following topics: ■ Section 9.5.1, Overview of Automated Workflows ■ Section 9.5.2, Creating and Customizing a Workflow Configuration File ■ Section 9.5.3, Wiring Asset Events to Flows ■ Section 9.5.4, Automatic Asset Registration Flows ■ Section 9.5.5, Multi-tier Automatic Assignment Flows ■ Section 9.5.6, Metadata Change Flows ■ Section 9.5.7, Time-based Escalation Flows ■ Section 9.5.8, Validation Expiration Flows ■ Section 9.5.9, Customizing Email Notification Templates ■ Section 9.5.10, Email Notification Use Cases ■ Section 9.5.11, Known Issues

9.5.1 Overview of Automated Workflows

Oracle Enterprise Repository bundles pre-built Oracle Business Process Management flows that attempt to automate Oracle Enterprise Repository asset submission, acceptance, registration and other governance process. This section discusses the configuration that is required before starting the Oracle Business Process Management Process Engine to process the asset events that are triggered by Oracle Enterprise Repository. For more information about configuring the Process Engine to trigger flows, see Section 9.3, Configuring the Oracle Enterprise Repository Event Manager . The flows are also designed to be flexible and can be customized using either the Workflow Configuration file workflow.xml or Oracle Business Process Management. This section also discusses each flow in detail and gives examples of how they can be tailored to suit your environment. This section describes how to configure an advanced registration flow. To create a new workflow, follow these steps:

1. Open an existing Oracle Business Process Management project in an IDE.

2. Add a new workflow. See the Oracle Business Process Management

documentation for details on this step.

3. Undeploy and deploy the project.

4. Wire the workflow to the events by following the instructions in

Section 9.5.3, Wiring Asset Events to Flows .

9.5.2 Creating and Customizing a Workflow Configuration File

This section explains how to create and customize a Workflow Configuration XML file. Tip: Before you begin, you should read Section 9.2, Introduction to the Oracle Enterprise Repository Automated Workflows to quickly get started using the Advanced Registration Flow feature using the bundled Oracle Business Process Management Web Service endpoint that is configured to work with the Oracle Business Process Management Process Engine. 9-42 Oracle Fusion Middleware Configuration Guide for Oracle Enterprise Repository

9.5.2.1 Defining the Oracle Enterprise Repository Connection and Registrar

The Workflow Configuration file loads the Oracle Enterprise Repository connection and registrar information from the following XML data. alerconnection urihttp:localhost.7001oerservicesFlashlineRegistryuri registrar useradminuser passwordpassword registrar alerconnection

9.5.2.2 Encrypting the Registrar User Password

The Security Encrypt Password tool runWfSecurity.bat allows you to encrypt the registrar passwords that are stored in the Workflow Config file. The tool recursively scans the file and encrypts all the password elements it encounters. For more information, see Section 9.7.5, Encrypting Your Passwords .

9.5.3 Wiring Asset Events to Flows