Error - INV-0001: The Investment ID must be unique error is observed on Clarity Process with Convert System Action
search cancel

Error - INV-0001: The Investment ID must be unique error is observed on Clarity Process with Convert System Action

book

Article ID: 367401

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

A Clarity process is created on a Custom Investment, with a system action = Convert Object. The mapping object is in place with respect mapped attributes, objective is to convert the Custom Investment instance to a Project.

If in the System Action, the option: "Copy Unmapped Fields with Identical IDs and Data Types" = Yes, then the process fails with the error: INV-0001: The Investment ID must be unique. The process only works if this field is set to "No"

 

STEPS TO REPRODUCE:

  1. Create a custom investment object from Administration >> Studio >> Objects
  2. Create any custom attributes on the Custom Investment object created on step 1
  3. Create the same custom attributes on the Project object with the same ID and data type matching with the Custom Investment's attributes, as mentioned in Step 2
  4. Create a mapping attribute type object, through XOG, wherein the attributes are mapped between the source and the destination object
  5. Create a process on Clarity, on the Custom Investment object, with a single step, having a system action = Convert Object. Associate the mapping attribute in the field Mapping Code. Keep the field: Copy Unmapped Fields with Identical IDs and Data Types = No
  6. On the MUX on the Custom Investment's blueprint associate the process created on step 5, under Actions
  7. From MUX , from the Custom Investment, for an instance run this process. The instance of the Custom Investment, is converted to project, with the associate attribute populated, as was present in the source custom investment
  8. Go back to the process and in the manual action, set the field: Copy Unmapped Fields with Identical IDs and Data Types = "Yes". Validate and activate the process
  9. From the MUX, for a particular new instance of Custom Investment, run the process

 

Expected Results :-

The Custom Investment Instance should get converted to a Project instance

Actual Results :-

The process fails with the following error: INV-0001: The Investment ID must be unique in the destination object

Environment

Clarity PPM 16.1.3 and all valid Clarity versions

Cause

DE78623

Resolution

This issue is fixed in 16.2.2

Additional Information

The issue occurs if the process is run with the option Copy Unmapped Fields with Identical IDs and Data Types = "Yes" , for an existing Custom Investment instance. With this option set to No, if the process is run for the same Custom Investment instance, it gets converted to Project instances, however, any unmapped field will not get the data mapped between the source and destination objects