4 Activate and Run the Accelerator

After configuring connections and resources, activate and run the integrations in this accelerator.

Running the integrations requires passing a JSON payload in the provided format.

Activate the Integrations

Before you can run an integration, you must activate it.

This accelerator contains the following three integration flows:

  • Oracle OPC Unifier Resources Roles Sync
  • Oracle OPC Unifier Activity Sync
  • Oracle OPC Unifier Activity and Assignment Spreads

Repeat the following steps to activate each of the three integrations listed above.

  1. In the Integrations section of the project workspace, hover over the integration flow you want to activate, click Actions Actions icon, then select Activate.
  2. In the Activate integration panel, choose an appropriate tracing level, then click Activate.
    A message confirms that the integration has been activated. Refresh the page to view the updated status of the integration.

Run the Oracle OPC Unifier Resources Roles Sync Integration

  1. Make sure you have already activated this integration.
  2. Make sure you run this integration first, before running the Oracle OPC Unifier Activity Sync integration.
  3. Run the Oracle OPC Unifier Resources Roles Sync integration.
    1. In the Integrations section of the project workspace, click Actions Actions icon on the integration flow, then select Run.
    2. On the Configure and run page, in the Request section, click the Body tab.
    3. In the Body field, enter the required JSON payload.

      For example:

      {
        "source": "Primavera Cloud",
        "unifierJobId": "3A0429936DD166A",
        "workspaceCode": "OPCworkspace"
      }
      Element Required Data Type Description
      source Yes String The external application from which data is pulled to be populated in the target application. Valid values include: "Primavera Cloud".
      unifierJobId No String A unique identifier for the Primavera Unifier job.
      workspaceCode

      No

      (If not provided, data from all workspaces that the user has access to will be transferred.)

      String The Oracle Primavera Cloud workspace ID.
    4. Click Run.
      You've now successfully submitted the integration for execution.

      Note:

      You can also schedule this integration to run at a date, time, and frequency of your choosing. See Define the Integration Schedule.

Run the Oracle OPC Unifier Activity Sync Integration

  1. Make sure you have already activated all three integrations in this accelerator.
  2. Make sure you have already run the Oracle OPC Unifier Resources Roles Sync integration.
  3. Run the Oracle OPC Unifier Activity Sync integration.
    1. In the Integrations section of the project workspace, click Actions Actions icon on the integration flow, then select Run.
    2. On the Configure and run page, in the Request section, click the Body tab.
    3. In the Body field, enter the required JSON payload.

      For example:

      {
        "opcProjectCode": "OPC-Jira-Integrated",
        "opcWorkspaceCode": "OPCworkspace",
        "performRecostingAutomatically": true,
        "removeUnreferencedData": true,
        "synchronizeBaselineProjects": false,
        "unifierJobId": "3A0429936DD166A",
        "unifierProjectNumber": "P-001"
      }
      Element Required? Data Type Description
      opcProjectCode Yes String The Oracle Primavera Cloud project ID.
      opcWorkspaceCode Yes String The Oracle Primavera Cloud workspace ID.
      removeUnreferencedData Yes Boolean Determines if the integration should remove any data (primarily Activities and Assignments) in Primavera Unifier that no longer exists in Oracle Primavera Cloud. Enabling this ensures that the data remains an exact 1-to-1 copy of Oracle Primavera Cloud.
      synchronizeBaselineProjects Yes Boolean Indicates whether to also integrate the baseline projects. Set this to true to synchronize baseline data along with the main project information.
      unifierJobId No String A unique identifier for the Primavera Unifier job.
      unifierProjectNumber Yes String The project number of the Primavera Unifier project.
    4. Click Run.
      You've now successfully submitted the integration for execution.

      Note:

      You can also schedule this integration to run at a date, time, and frequency of your choosing. See Define the Integration Schedule.

Run the Integrations Using the REST API (optional)

If you want to run the integrations using the REST API instead of using the standard methods described above, do the following:

  1. In the Integrations section of the project workspace, click Actions Actions icon on the integration flow, then select Run.
  2. On the Configure and run page, click the Endpoint Metadata tab.
  3. Copy the Endpoint URL and use additional information as necessary.

Monitor the Integrations

To monitor the running of each integration flow:
  1. In the project workspace, click Observe. You'll see the integration flow being triggered and running successfully.
  2. To manage errors in your project, see Manage Errors in a Project.