Run the Integrations
The integrations in this accelerator can be run from either the Oracle Integration or Primavera Unifier user interface.
Note:
For both synchronizations to run successfully, all delivered integrations must be activated first (see Activate the Integrations).Run 'Oracle OPC Unifier Resources Roles Sync'
- In the Integrations section of the project workspace, click Actions
on the integration, then select Run. - On the Configure and run page, in the Request section, click the Body tab to enter the required JSON payload.
- Click Run and watch the Activity Stream / Tracking to verify success.
Request payload example:
{
"source": "Primavera Cloud",
"unifierJobId": "3A0429936DD166A",
"workspaceCode": "OPC-WORKSPACE-CODE"
}| Element | Required | Data Type | Description |
|---|---|---|---|
source |
Yes | String | Source application label used by the integration. Use: Primavera Cloud |
unifierJobId |
No | String | Optional correlation ID for Primavera Unifier job tracking (when triggered from Primavera Unifier). |
workspaceCode |
No |
String | Oracle Primavera Cloud workspace ID. If not provided (or empty), the integration syncs resources/roles from all workspaces the integration user can access. |
Run 'Oracle OPC Unifier Activity Sync'
Note:
Before you run this integration, make sure Oracle OPC Unifier Resources Roles Sync has already run successfully first.You can run the this integration in two ways:
- Option A: Run from Primavera Unifier - Get Data (recommended)
- Option B: Run from Oracle Integration (manual run / testing / ad-hoc runs)
Option A: Run from Primavera Unifier
Use this option when Primavera Unifier is configured to call the Oracle Integration endpoint.
The steps below describe how to configure Primavera Unifier to call the Oracle Integration endpoint, and then once configured, how to run the integration from Primavera Unifier.
- In Primavera Unifier, add and activate the integration.
- In Primavera Unifier, assign the integration to the System Activity Sheet.
- Open the project and select Admin mode.
- In the left Navigator, expand Setup and select Activity Sheets.
- On the Activity Sheets page, for System Activity Sheet – Get, click Select an Integration, then select the integration from the list.
- Click Save.
- Run the synchronization.
Option B: Run from Oracle Integration
- In the Integrations section of the project workspace, click Actions
on the integration, then select Run. - On the Configure and run page, in the Request section, click the Body tab to enter the required JSON payload.
- Click Run and watch the Activity Stream / Tracking to verify success.
Request payload example:
{
"opcProjectCode": "OPC-Proj-001",
"opcWorkspaceCode": "OPC-WORKSPACE-CODE",
"performRecostingAutomatically": true,
"removeUnreferencedData": true,
"synchronizeBaselineProjects": false,
"unifierJobId": "3A0429936DD166A",
"unifierProjectNumber": "UNIFIER-Proj-001"
}| Element | Required? | Data Type | Description |
|---|---|---|---|
opcProjectCode |
Yes | String | The Oracle Primavera Cloud project ID to sync. |
opcWorkspaceCode |
Yes | String | The Oracle Primavera Cloud workspace ID for the project. |
performRecostingAutomatically |
No | Boolean | If true (default), triggers Primavera Unifier project recosting after spreads complete successfully. Set to false to manage recosting manually in Primavera Unifier.
|
removeUnreferencedData |
Yes | Boolean | If true, removes records in Primavera Unifier that do not exist in Oracle Primavera Cloud (primarily WBS/Activities/Assignments), making the target a 1:1 copy.
|
synchronizeBaselineProjects |
Yes | Boolean | If true, also syncs the current baseline project from Oracle Primavera Cloud. |
unifierJobId |
No | String | Optional correlation ID for Primavera Unifier job tracking (if triggered from Primavera Unifier). |
unifierProjectNumber |
Yes | String | Primavera Unifier project number to sync to. |
Run the Integrations Using the REST API (optional)
Use this method if you prefer to invoke integrations using REST instead of the Oracle Integration or Primavera Unifier user interface.
- In the Integrations section of the project workspace, click Actions
on the integration, then select Run. - On the Configure and run page, click the Endpoint Metadata tab.
- Copy the Endpoint URL and review the Resource information (HTTP method, request/response schemas). Use this with your REST client (Postman/curl). Oracle also supports publishing OpenAPI documents for REST-triggered integrations for easy client import.