Get started with Oracle Cloud Infrastructure Process Automation


Use Oracle Cloud Infrastructure Process Automation to rapidly design, automate, and manage business processes. Its two working environments enable you to perform iterative process automation development:

Process Application Life Cycle

Process Lifecycle

Description of the illustration process-lifecycle.png

Process Lifecycle2

Description of the illustration process-lifecycle2.png

Designer Overview

Process Designers use the Designer environment to create and edit interrelated components within a process application. Whether you create a structured or dynamic process depends on your use case:

Designer Overview

Description of the illustration designer-overview.png


In this tutorial, you’ll learn how to:

  1. Create a process application and its components in Designer.

    • Create roles

    • Create a process

    • Create human tasks and forms

  2. Activate an application version.

  3. Test and run the application in Workspace.


You need a web address and sign-in credentials for Oracle Cloud Infrastructure Process Automation. Note that it is useful to have multiple credentials for testing purposes.

  1. Enter the web address for Oracle Cloud Infrastructure Process Automation. Ask your administrator if you don’t have it.

    Designer Overview

    Description of the illustration sign-in.png

  2. Complete the User Name and Password fields, and click Sign In.

The main page for Process Designer appears, listing any existing process applications.

Create a Process Application in Designer

A process application is a container for key components: processes, forms, connectors, and roles.

Process main page

Description of the illustration designer-main-page.png

  1. Click Create. The Create Application side pane opens.

  2. In the Title field, enter Subscription Application. The title can have spaces and special characters.

    Note that by default the Identifier Name field gets auto-populated with the title you enter.

    Tip: You can modify the default identifier to a name of your choice. For example: SubscriptionApp_1. But keep in mind that it has more restrictions than the title. For example, it supports hyphen (-) and under score (_) but does not support space, and it always begins with an alphabet (A-Z) but supports alphanumeric values also.

  3. Enter a meaningful description in the Description field.

  4. Leave the Version Tag field as 1.0.

    It will help you identify the application version when you activate it.

    Process main page

    Description of the illustration create-process-application.png

  5. Click Create.

    A message indicates that it’s being created, then shows a link.

  6. Click the Open now link in the message.

    If the link disappeared, select the My Applications tab to filter the list to show only those you created. Click Search icon and enter the first few characters of the application’s name (sub). Once you locate the application, select it to open it.

About Components Tabs and Navigation

Opening a process application displays its components page. Components are design elements of your application, and they’re listed as tabs near the top of the components page.

  1. From the Components tabs, click UIs.

    Components and Tabs

    Description of the illustration components-tabs.png

    Notice that a 0 appears for each component, since you haven’t created any yet.

    For example, when you click UIs, the UIs page appears, offering you two ways to create a form or select a linked UI. Forms and linked UIs will be listed on this page after you create them.

  2. Click the Process Applications breadcrumb at the top.

    You return to the Process Applications page. As you design components in your application, the breadcrumbs at the top get updated. You can easily navigate between components using the breadcrumbs.

  3. Open your process application again.

Create Roles

In Oracle Cloud Infrastructure Process Automation, you define roles to grant users or groups access to activated applications and to specify what they can do.

In this example, we’ll create two roles:

Let’s create the two roles.

  1. From the top of the page, click Add.

  2. In the Add component pane, expand Roles, and click New.

  3. In the Title field, enter Subscriber, and click Create.

    Notice how the role is now listed on the page and the Roles tab shows 1.

  4. Click the Open now link or select the role from the Roles page to open it.

  5. Let’s assign a user and review permissions for the role. In the Search by fields:

    • Leave Users selected in the drop-down field.

    • In the Search Search icon field, enter the first few characters of the user name you signed in with.

    • Select the user. The user gets listed in the page.

  6. In the Application Permission Level options, leave Use selected.

    This allows your user to start an application request in Workspace.

    Create roles

    Description of the illustration create-roles.png

  7. Repeat steps 1 - 4 to create the second role, only this time enter its name as Approver in the Title field.

  8. Repeat step 5 to assign a user for the Approver role.

    In a real life scenario, multiple users are selected to complete different tasks in an application. But to keep this example simple, we’ll use the same user.

  9. In the Application Permission Level options, leave Use selected. This allows your user to update (in this case, Approve or Reject) a task in Workspace.

Now that we have created the two roles - Subscriber and Approver, let’s create a process where we implement the roles to specific user tasks.

Create a Structured Process

For this example, we’ll use a structured process. The scenario goes like this:

Let’s get started.

  1. Click the Subscription Application 1.0 breadcrumb to go to your application’s main page.

  2. From the top of the page, click Add.

  3. In the Add component pane, expand Processes, and click Structured.

    Create structured process

    Description of the illustration structured-process.png

  4. Enter Subscribe in the Title field.

  5. Click Create. A confirmation message shows that the process was created.

    Notice how the process is listed on the page and the Processes tab shows 1.

  6. Select the process to open it.

    The structured process editor opens. Start and end elements are already positioned on the flow for you. There are two swimlanes and the BPMN elements palette is on the right side.

    Structured process editor

    Description of the illustration process-editor.png

  7. Select the first swimlane containing the start and end element by clicking the bar on the left of the canvas. Click the edit icon to open the Properties pane. In the Properties pane, select Subscriber in the Role drop-down field.

    Edit swimlane

    Description of the illustration edit-swimlane.png

    Note that the swimlane’s name changes to Subscriber.

  8. In the BPMN elements palette, expand the Human category and drag an Approve task to the second swimlane.

    Notice that the swimlane’s name automatically gets mapped to the Approver role. Adjust the process flow so that the Approve task is the second element in the flow.

    Add approve task element

    Description of the illustration add-element.png

  9. Rename the three elements from left to right as Sign up, Approve subscription, and Complete. Double-click the text to edit it.

    Notice the small red circles on two of the elements, and in the toolbar. Those are validation alerts, notifying you that configuration is needed.

  10. Select the Sign up element, choose its options menu, and select Open Properties.

Open properties

Description of the illustration open-properties.png

  1. In the Properties pane, enter Sign up here in the Title field.

  2. Click the UI field. Notice that it’s empty, since we haven’t created any forms.

Note that all changes or updates you make in the process editor get automatically saved.

Create a Simple Form

Use forms for human interaction.

Let’s create a simple form.

  1. Click Add at the top of the page.

  2. In the Add component pane, expand UIs and click Quick Form.

  3. In the Title field, enter Subscription Form.

  4. Click Create, then click the Open now link.

    If you missed the Open now link, click the expand arrow next to the Subscribe process at the top, then click the UIs tab, and select the new form.

    Open form

    Description of the illustration form-open.png

  5. In the quick form editor, change the heading of the panel to: Tell us about yourself.

    You can ignore the optional Description field.

  6. Click +Control to add a control.

    An InputText control is added to the form.

    Note that whenever you add a control, by default an InputText control is added in the quick form editor. You can change it to a control type of your choice (such as number, date, email and so on) from the control type menu.

  7. Select the control, and do the following:

    • Change its name from InputText to Name.

    • Make it required.

  8. Add another control below the first control.

  9. Select the second control, and do the following:

    • Change its name to Email.

    • Click Change type and choose Email as the control type.

    • Make it required.

    Add second control

    Description of the illustration second-control.png

Explore Advanced Form Options

Now let’s change to the web form editor to take advantage of its additional options. For example, the web form editor lets you create presentations, where you provide multiple views of a form.

  1. In the top corner of the quick form editor, click Convert to Web Form.

    A message appears about converting the form. It’s letting you know you can’t convert a form back to the quick editor.

  2. Click Convert.

    The form appears in the full editor.

    Full Editor

    Description of the illustration form-full-editor.png

  3. Notice the following:

    • The palettes in the right pane. You have many more control types and options to choose from.

    • The tabs in the left Properties pane. Notice how they change depending on what is selected in the main canvas.

      • When the form is selected (click away from a control), Form and Presentation tabs appear.

      • When a control is selected, General and Styling tabs for that control appear.

  4. Create a presentation.

    • On the Form tab of the Properties pane, scroll down to Presentations and click Add. Note that the default presentation (SubscriptionForm), with the same name as the form is already shown.

      Create presentation

      Description of the illustration create-presentation.png

    • In the Select Presentation Type dialog, choose Clone and then Select. We selected to clone or copy the default presentation.

    • In the Create Presentation dialog, leave SubscriptionForm selected in the Select from Previous Presentation field, change Presentation to ApproveSubscription in the Name field, and leave the Switch to this presentation check box selected.

    • Click Create.

    The new presentation is created and displayed. You can see the name you assigned it in the top drop-down field. Because you cloned the default presentation, its content look the same.

  5. Make changes to the new ApproveSubscription presentation.

    • Select the panel, and then in the General tab of the Properties pane, change the Label field to Allow subscriber to join?.

    • Select the Name control. In the Properties pane, scroll down to the checkbox fields. Deselect Required and select Read Only.

    • Select the Email control. In the Properties pane, scroll down to the checkbox fields. Deselect Required and select Read Only.

    • Add another control. From the Basic palette, drag a Checkbox control and drop it below the Email control. Select the control, and in the Properties pane, change its name to Verified and its label to The subscriber has been verified.

    Form with the approve subscription presentation

    Description of the illustration form-approvesubs.png

Complete the Process

With the roles and form created, let’s return to the process and link them to the human tasks.

  1. Open the structured process.

    Click the expand arrow next to the Subscribe Form breadcrumb at the top, then click Processes, and select the Subscribe process.

  2. Select the Sign up element, then select the options menu and click Open Properties. In the Properties pane:

    • Leave the Assignee field as Any User with Use Permission.

    • In the UI field, select your form, SubscriptionForm.

    • In the Presentation field that appears, select SubscriptionForm. Notice that the red circle disappears for this element as it is now fully configured.

  3. Select the Approve subscription task, then select the options menu and click Open Properties. In the Properties pane:

    • In the Assignees section, leave the Policy field as Any Single Assignee and the Select Participants field as Current Lane Participants.

    • In the End User Display section, enter Subscription approval in the Title field. The task assignee will see this title.

    • In the UI field, select SubscriptionForm.

    • In the Presentation field, select ApproveSubscription.

    • Select the Bind to process data check box. The Task Payload and Task Outcome fields automatically populate. With binding set this way, form values are automatically associated.

      End User Display

      Description of the illustration enduser-display.png

    • Notice that the red circles are gone and a green checkmark appears at the top, indicating validation.

    You’re ready to activate the application.

Activate a Version of the Application

Activating an application moves its metadata from design time (Designer) to runtime (Workspace), where it can be run in either a test or production capacity.

Before you activate, note the following about Snapshots and Versions:

To activate the application:

  1. Click Activate on the top right corner.

    The Activate version pane appears. Notice that the version tag you specified at creation is shown (1.0).

  2. Leave the Make it default field selected.

    An application always has a default version. In Workspace, users can choose to see all versions or the default only.

  3. Click Activate.

    You’re informed that a snapshot of the application is being taken, followed by a message that the application is activated.

  4. Click Test in Workspace.

    Activate window

    Description of the illustration test-app.png

    Workspace opens in another tab. The Subscribe Application that you activated appears in the Start Requests page.

Test and Run the Application in Workspace

Use the Workspace environment to run, test, monitor, troubleshoot, or administer process applications. The options you see depend on your assigned role.

Note: Runtime APIs can be used instead of Workspace.

Before you begin, get familiar with the options in the Workspace navigation menu.

Workspace navigation menu

Description of the illustration workspace-menu.png

Start an Application Instance

In this case, pretend you are an end user who wants to subscribe. Each time the application is started, a process instance is created.

  1. From the Start Requests page, select the Subscription Application.

    The card’s banner lists the application identifier, and its process and start event titles appear below.

    The subscription form you created appears, with the first presentation shown.

    Workspace navigation menu

    Description of the illustration workspace-subsform.png

  2. Complete the form and click Submit.

    The fields each show an asterisk, indicating that they’re required. If you enter an invalid address in the Email field, an error alerts you.

    A message confirms that an instance was created. The start event for the process is complete.

  3. Optionally, repeat these steps to select the application and create a few more instances.

Complete an Assigned Task

Now put yourself in the role of an approver - in this case, a community manager who gets assigned a task when a subscriber makes a request.

  1. Choose Workspace from the options menu.

    The Workspace page lists tasks available to you and start requests below.

  2. Click the Team Tasks tab.

    You see tasks assigned with the title and process name you specified. Because they can be assigned to any user assigned to the role, you’ll need to claim a task to complete it.

    My Tasks page

    Description of the illustration my-tasks.png

  3. From the Actions column for a task, choose Claim. Click Claim in the Claim Task pane that appears.

  4. Click the My Tasks tab and your claimed Subscription approval task now appears.

  5. Select the Subscription approval task to open it.

    The subscription form you created is displayed, with the second presentation shown this time.

    Subscription approval form

    Description of the illustration workspace-subs-appr.png

  6. Complete the form.

    Notice that the fields are read only.

    • Select the checkbox to confirm that the subscriber has been verified.

    • Expand Comments, enter a comment, and click Post.

    • Click APPROVE or REJECT.

    A message confirms that the task was approved or rejected. The approval human task is complete.

    You return to the My Tasks page. The task you just completed is no longer listed.

Track Your Process

Now step into the role of a process owner, who wants to monitor processes to ensure that they’re moving smoothly.

  1. Choose Tracking from the Workspace navigation menu.

    The Tracking page lists processes you’re authorized to view.

  2. Select the Completed tab.

    You should see the Subscribe process you just completed with a Completed status.

    Tracking page

    Description of the illustration tracking.png

  3. Select the completed process.

    A page for viewing the process history is displayed.

    Process history

    Description of the illustration process-history.png

    • Expand the Audit section and notice each element in the structured process listed: Sign up, Approve subscription, and Complete.

    • Click the View Input and output links to view the form entry data (payload).

    • Expand the Comments section to view any comments added or add a new one here. Comments are tracked with the user’s name.

More Learning Resources

Explore other labs on or access more free learning content on the Oracle Learning YouTube channel. Additionally, visit to become an Oracle Learning Explorer.

For product documentation, visit Oracle Help Center.