Skip to main content
Nintex Community Menu Bar

Unable to execute list method of SQL based SmartObject while other methods work fine

  • February 16, 2021
  • 0 replies
  • 8 views
  • Translate

MillaZ
Nintex Employee
Forum|alt.badge.img+21
  • Nintex Employee
  • 667 replies
 

Unable to execute list method of SQL based SmartObject while other methods work fine

kbt154607

PRODUCT
K2 Five
K2 blackpearl
TAGS
Microsoft SQL
SmartObjects
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

The following error message appears when attempting to execute the List method of an SQL table based SmartObject:

"Column '%Column_Name%' does not allow nulls"

Symptoms

 

 

The error only appears when the List method gets executed. Create, Delete, and Get record methods are working fine.

A SmartObject with exactly the same structure works correctly in another environment.

Resolution

Based on the symptoms above, you may need to verify the records in the column mentioned in the error message. (Check for empty values or values in the wrong format) as one "bad record" is enough for the List method to fail.)

The fact that other methods are working indicates that there are no issues with the SmartObject itself, but rather a problem caused by data.  You can resolve this by deleting the incorrect entry / entries.

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