<{{Subtitle_Weight}} class="prominent-subhead {{Show_Subtitle}}"> {{Header_Subtitle}}

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

~~repeating-content.html~~
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.