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 PremiseClarity 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:
Create a custom investment object from Administration >> Studio >> Objects
Create any custom attributes on the Custom Investment object created on step 1
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
Create a mapping attribute type object, through XOG, wherein the attributes are mapped between the source and the destination object
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
On the MUX on the Custom Investment's blueprint associate the process created on step 5, under Actions
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
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
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