We've already met the ubiquitous OrderProcess in previous OPA posts. Now to invoking that very same process from Oracle Integration 3. In OIC Gen 2, Process is part of the toolkit, this will also be the case in Oracle Integration 3, however, this post concerns itself with the standalone version of OPA.
Step 1 is to create an app in IDCS
Redirect URL is set to - https://my OIC3.ocp.oraclecloud.com/icsapis/agent/oauth/callback
Set Scopes as follows - note one for process and one for decisions.
Step 2 - Create REST Connection in OIC 3
The Connection URL - Let's begin with the full URL -
Simply remove all after /v1.
Client Id/Secret are from the IDCS app -
Username / password are required for OPA - I need to specify a user assigned to the relevant OPA role(s).
Note the Scope setting - I specify that for process as well as offline_access (enables token refresh).
Step 3 - Create the Integration in OIC 3
The integration is very simple, a REST trigger, with an <Order> payload, then an invoke leveraging the REST connection I just created. The invoke is configured as follows -