Custom Investments created by API can have incorrect status
search cancel

Custom Investments created by API can have incorrect status

book

Article ID: 256481

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

Using API to create custom investments is not validating for correct investment statuses.

For custom investments as well as projects the only valid statuses are Unapproved or Approved.

Using API the investments can be created with the status of Incomplete.

 

Once an incorrect status is on the investment the status cannot be changed and shows the following error:

"Unable to change Status on Custom Investment Type getting CMN-0009 error "

 

Environment

Release : 16.1.0

Cause

Validation was missing from the API

Resolution

API Validation is resolved in 16.1

However, any records containing the bad value will need to be updated in the database.