How to Integrate OPA (Oracle Process Automation) with Oracle VBCS

How to Integrate OPA (Oracle Process Automation) with Oracle VBCS

How to Integrate OPA (Oracle Process Automation) with Oracle VBCS

In this section, we will see how to Integrate process defined in OPA with Oracle VBCS.

Note: VBCS and OPA should have same identity domain to work on the steps below.

Let us consider below sample Oracle Process Automation structured process created:

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Navigate to Processes.

A screenshot of a computer

AI-generated content may be incorrect.

Here we have created simple Leave application process with Initiator and Approval role as shown above.

Let us run this OPA application.

Navigate to Applications —> Workspace.

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Click on DEMO_APPROVAL_APP.

Provide values for Leave Type and Number of Days and click on Submit.

A screenshot of a computer

AI-generated content may be incorrect.

Click on Open Now.

A screenshot of a computer

AI-generated content may be incorrect.

Here we can see Process is initiated and assigned to APPROVAL_ROLE users.

Now we will call same process from VBCS application.

Navigate to VBCS.

Create Simple VBCS Application as shown below:

A screenshot of a computer

AI-generated content may be incorrect.

Create new Backend to configure Process Automation from VBCS.

Navigate to Services —>Backends.

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Select Process Automation.

A screenshot of a computer

AI-generated content may be incorrect.

Provide details as below:

Instance URL: OPA instance URL

Authentication: OAuth 2.0 User Assertion.

Scope: OPA instance URL/process.

Click on Create.

A screenshot of a computer

AI-generated content may be incorrect.

New Backend for OPA is created now.

let us create Service Connection based on backend.

A screenshot of a computer

AI-generated content may be incorrect.

Click on Service Connection.

A screenshot of a computer

AI-generated content may be incorrect.

Select “Select from Catalog”.

A screenshot of a computer

AI-generated content may be incorrect.

Select “Process Automation Applications”.

A screenshot of a computer

AI-generated content may be incorrect.

Click on Create.

A screenshot of a computer

AI-generated content may be incorrect.

Create new VBCS Page and navigate to Data—-> Services —>Processes —> Create

Drag on VBCS page.

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Click on Create Form.

A screenshot of a computer

AI-generated content may be incorrect.

Drag and drop “leave Type, numberofDays and processDefinitionid to fields and Click on Finish.

To submit OPA process from VBCS, we need to get processDefinitionid.

To get processDefinitionid, submit the process manually and get processDefinitionid from inspect 🡪Network.

A screenshot of a computer

AI-generated content may be incorrect.

Now submit process from VBCS with below details:

A screenshot of a computer

AI-generated content may be incorrect.

Click on Save.

A screenshot of a computer

AI-generated content may be incorrect.

Here we can see Process record successfully created.

Navigate to OPA to verify.

A screenshot of a computer

AI-generated content may be incorrect.

Here we can see, process record created in OPA.

In this way, we can call OPA process from VBCS page.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top