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.
When designing a workflow with a Set Data Field event and using the Email property of a Person or Group Item Reference to set one of the fields, using the data field as the To field in an Email event results in the workflow instance going into an error state. This scenario is also valid when using the Email property of a Created By column Item Reference to set a data field.
Another scenario is when using the Get List Item Reference event and then the Set Data Field event. In this scenario the workflow instance will also go into an error state but with a slightly different error message.
The error message for the first scenario will state that: “The email address : System.String, is invalid”.
The error message for the second scenario will state that: “Object of type 'System.Object' cannot be converted to type 'System.String'”.
- Ensure you have K2 4.7 installed.
- Download and install the K2 4.7 May 2017 Cumulative Update from K2 Partner and Customer Portal.
- Get the K2 4.7 May 2017 Cumulative Update FP11 from Regional Support.
- Install the K2 4.7 May 2017 Cumulative Update FP11 to apply the fix.