Skip to main content
Nintex Community Menu Bar
 

Code Fix: An error occurs when deploying a workflow after upgrading to K2 Five (5.2)

KB003201

PRODUCT
K2 Five 5.2
K2 Five (5.2) May 2019 Cumulative Update
K2 Five (5.2) May 2019 Cumulative Update Fix Pack 2

 

Issue Description

Javascript errors occurs when you deploy an existing workflow with email configurations after upgrading to K2 Five (5.2).

Error Message

The following javascript error message occurs: “Error: Constructor on type 'System.Object' not found”.

The following message is visible in the browser as well: “Message: Your workflow has encountered errors during deployment. Open the error console on the canvas to review the errors”.

Cause

With the introduction of the HTML mode of the mail configurations, the conversion of existing configurations missed an implementation of caching external reference configurations to allow for re-linking post conversion. This issue would only occur with SmartObject smartfields that does not relate to any item references in the same workflow.

Fix Description

External reference configurations are now cached prior to conversion to allow for re-linking.

Resolution

  1. Ensure you have K2 Five (5.2) installed.
  2. Download and install the K2 Five (5.2) May 2019 Cumulative Update from K2 Partner and Customer Portal.
  3. Download the K2 Five (5.2) May 2019 Cumulative Update FP2 from K2 Partner and Customer Portal.
  4. Install the K2 Five (5.2) May 2019 Cumulative Update FP2 to apply the fix.
  5. It is recommended to refresh the browser cache.

 

Be the first to reply!

Reply