Skip to main content
Nintex Community Menu Bar

Code Fix: An error occurs when returning a list of decimal values

  • February 16, 2021
  • 0 replies
  • 124 views

Anelle
Nintex Employee
Forum|alt.badge.img+11
  • Nintex Employee
  • 13 replies
 

Code Fix: An error occurs when returning a list of decimal values

KB003141

PRODUCT
K2 Five 5.3
K2 Five (5.3) Fix Pack 2

 

Issue Description

When you create a custom assembly and register a new Endpoints Assembly service instance, after generating a SmartObject and executing the method to return a list of decimal values, an error occurs.

Error Message

The following error occurs: “Arithmetic overflow error converting numeric to data type numeric”.

Resolution

  1. Ensure you have K2 Five (5.3) installed.
  2. Download the K2 Five (5.3) FP2 from K2 Partner and Customer Portal.
  3. Install the K2 Five (5.3) FP2 to apply the fix.
  4. Edit the Endpoints Assembly service instance.
  5. Change the decimal precision value to “30,8”. The default value is “23,9”. This is relevant to Endpoints Assembly as well as Endpoints WebService.

    Image

  6. Refresh the Service instance.
  7. For reference on which precision would be best to use, go to https://docs.microsoft.com/en-us/sql/t-sql/data-types/precision-scale-and-length-transact-sql?view=sql-server-2017

 

Translate
Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings