Code Fix: Using K2 Smartobject Fields in the Body of a K2 Workflow Email event causes K2 Workflow deployment error.

  • 16 February 2021
  • 0 replies
  • 14 views

Badge +5
 

Code Fix: Using SmartObject fields in the body of an Email event causes a workflow deployment error.

KB002459

PRODUCT
K2 Five 5.0
K2 Five (5.0) Fix Pack 25
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

When you add SmartObject fields into the body of a workflow Email event and attempt to deploy the workflow an error is presented and the workflow cannot be deployed.

Error Message

The following error occurs:

“--SignalR-- flush model error: Missing reference at Expression in Event 'Send Email' in Activity 'Send Email'. Error: Unable to cast object of type 'System.RuntimeType' to type 'System.String'.. Stack Location : K2Process 'Check' >Activity 'Send Email' >EmailEvent 'Send Email' >EmailConfiguration > Stack End.”

Resolution

  1. Ensure you have K2 Five RTM installed.
  2. Get the K2 Five RTM FP25 from Regional Support.
  3. Install the K2 Five RTM FP25 to apply the fix.
  4. It is recommended to refresh the browser cache.
  5. You are now able to Deploy your K2 Workflow.

 


0 replies

Be the first to reply!

Reply