Map Data to Synchronize a Project to a Target Workspace

Map the source project ID and workspace ID with the target project ID and workspace ID.

Map Source Project ID with Target Project ID

  1. On the integration page, select Map (SyncProject), click Actions Actions icon, and then select Edit.
  2. On the mapper, in the Source section, expand ResolveTargetWorkspace Response, and then Resolve Workspaces Response, and then Workspace Result, and then Workspaces, and then select Workspace Id.
  3. In the Target section, expand Request Parameters, and then Request, and then Projects, and then select Workspace Id.
  4. Drag the source element, Workspace Id, to the target element node.
  5. In the Source section, expand GetProjectDetails Response, and then Find By Project Id Response, and then Coarse Project, and then Projects, and then select Project Id.
  6. In the Target section, expand Request Parameters, and then Request, and then Projects, and then select Project Id.
  7. Right-click Project Id, and then select Create Target Node.
  8. In the Expression Builder, click Switch to Design View Switch view icon.
  9. On the top-right corner of the page, click Toggle Functions Mapper functions icon.
  10. Expand Operators.
  11. From the list of operators, drag -() Unary to the Expression Builder.
  12. Place your cursor inside the parentheses of the operator you just placed, and then from the Source section, drag the Project Id into the parentheses.

    For example:

    -($getProjecDetails/nsmpr0:findByProjectIdResponse/nsmpr0:CoarseProject/ns18:project/ns18:projectId)

  13. Click Save Save expression icon.

Map Source Project Code with Target Project Code

  1. In the Target section, expand Request Parameters, and then Request, and then Projects, and then select Actions.
  2. Right-click Actions, and then select Create Target Node.
  3. In the Expression Builder, click Switch to Design View Switch view icon.
  4. In the Design View window, enter Create.
  5. In the Source section, expand GetProjectDetails (Oracle Primavera Cloud), and then Find Project By Keys Response, and then Coarse Project, and then Projects, and then select Project Code.
  6. In the Target section, expand Request Parameters, and then Request, and then Projects, and then select Project Code.
  7. Drag the source element, Project Code, to the target element, Project Code.
  8. Continue to add mappings as needed between the source element, GetProjectDetails Response (Oracle Primavera Cloud), and the target element, SyncProjectRequest (Oracle Primavera Cloud).
  9. Click Validate.
  10. Click Go Back Back icon, then click Save.