How to Edit Project Preferences

Working with Projects and Project Templates 4-5

4.3.1.2 Activity Edit Policies

Within a process, you can also define edit policies that apply to individual flow objects.

4.3.2 Using Data Objects and Variables in Project Templates

A project template defines the data objects used within a project. These can be the Oracle BPM default types or complex data objects created by process template developers within Oracle BPM Studio. When editing a process template in Business Process Composer, you can add and create new data objects as necessary. However, you can only create new data objects based on types that are already defined in the project template. You cannot create new types of complex data objects.

4.3.3 Using the Business Catalog in Project Templates

Project templates allow you to incorporate elements of the business catalog. This allows you to create reusable services that can be used in each project created based on a project template. The following business catalog components can be included in a project template: ■ Human Tasks ■ Business Rules ■ Services ■ Business Objects Using Business Process Composer, process analysts can reuse these components within a project by assigning a business catalog component to its corresponding activity within a process. Activity Sealed Individual activities flow objects within the process cannot be changed. This includes editing flow object properties including assigning components from the business catalog. Note: If you do not define an edit policy template users can change the process flow, including adding and deleting BPMN flow objects. They may also be able to edit flow objects properties depending on the edit policies you define at the activity flow object level. Table 4–2 Component Level Edit Policies Edit Policy Description Sealed The component cannot be modified Must implement Template users are required to implement this component in order to create a deployable project. Can modify implementation Template users may redefine this component if necessary. Use process permission The component inherits the edit policy of the process. Table 4–1 Cont. Process Level Edit Policies Edit Policy Description 4-6 Modeling and Implementation Guide for Oracle Business Process Management When creating a project template that is shared with Business Process Composer , you must create the necessary business catalog components before publishing the template to MDS. Business Process Composer only enables you to create and edit some business catalog components. See Oracle Fusion Middleware Business Process Composer Users Guide for Oracle Business Process Management for more information.

4.4 Working with Project Templates

The following sections describe how to create project templates and set the edit policies for processes and activities within a process. After creating a project template, see Section 4.5, Using the Oracle BPM Metadata Service MDS Repository for information on publishing it to Oracle BPM MDS. After publishing project templates to the Oracle BPM MDS repository, business users can use them to create new deployable BPM projects. See Oracle Fusion Middleware Business Process Composer Users Guide for Oracle Business Process Management for more information.

4.4.1 How to Create a New Project Template

You can create a project template from an existing project by right-clicking a BPMN process in the Project Navigator, then selecting Create Process Template. You can also create a project template using To create a project template: 1. From the File menu, select New 2. Select BPM Tier, then select BPM Project Template. 3. Click OK. 4. Provide a name for your project, then click Finish. After clicking Finish, the new project template appears in the Project Navigator. You can create new processes and define any required edit policies for processes and activities. Also, if you plan to share your template with process analysts using Business Process Composer, you should also define any necessary business catalog components before publishing the template to Oracle BPM MDS

4.4.2 How to Create a Project Template from an Existing BPM Project

You can create a project template from and existing BPM project. This enables you to continue developing a BPM project in Oracle BPM Studio while making it available as a project template. To create a project template from an existing process: 1. Open your project.

2. In the BPM Project navigator, right-click your project then select Convert to

Template . Note: After converting a project to a project template, you cannot convert it back to a regular project.