"odf.cantReduceDecimalPlaces" error while running custom process
search cancel

"odf.cantReduceDecimalPlaces" error while running custom process

book

Article ID: 257460

calendar_today

Updated On:

Products

Clarity PPM SaaS

Issue/Introduction

While running custom process which imports data into a staging object we see the issue "odf.cantReduceDecimalPlaces" and the script fails. 

We've recently converted a number attribute with 0 decimals to 2 decimals and the issue started happening after that.

Environment

Release : 16.1.0

Cause

This is caused by custom process code where it was trying to modify the attribute back to it's original state with 0 decimals.

 

Resolution

Once a number attribute is created with decimals, the decimal places can't be reduced. Issue was resolved by modifying the custom process.