Skip to main content
Nintex Community Menu Bar

Code Fix: In the K2 Workflow Designer using a combination of properties from many Smartobjects from “Recent” in the context browser presents an error

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

Forum|alt.badge.img+5
 

Code Fix: In K2 Designer, using a combination of properties from many SmartObjects from “Recent” in the context browser causes an error

KB002343

PRODUCT
K2 Five 5.0
K2 Five (5.0) Fix Pack 20
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

 

Issue Description

In K2 Designer, using a combination of properties from different SmartObjects from the “Recent” node in the context browser causes an error. This also causes an error in K2 Package and Deployment when a package was created from this scenario and you try to deploy that package.

Error Message

The following errors occur in K2 Workflow Designer:

Console error #1 when dragging from “Recent”: “Uncaught TypeError: Cannot read property 'methods' of undefined”

Console error #2 when dragging from “Recent”: “Uncaught TypeError: Cannot read property 'length' of undefined”

 

The following error occurs in K2 Package and Deployment:

Error when deploying: “Missing reference at SmartObjectField . Error: The best overloaded method match for 'string.IsNullOrEmpty(string)' has some invalid arguments.”

Cause

When a Recent item is dragged over, the last cached SmartObject is used.

Resolution

  1. Ensure you have K2 Five RTM installed.
  2. Get the K2 Five RTM FP20 from Regional Support.
  3. Install the K2 Five RTM FP20 to apply the fix.
  4. It is recommended to refresh the browser cache.

 

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