Issue Description

When using the item reference email property from a People or Group column to set the value of a datafield in a workflow, starting the workflow with an empty People or Group column will cause the workflow to go into error state.

Error Message

The workflow will be in an error state with the following error message:

"InnerException: SmartObject property UserIds is a required property for selected method GetK2EmailsForSharePointUsers. Value must be set."

Resolution

  1. Ensure you have K2 4.7 installed.
  2. Download and install the K2 4.7 August 2017 Cumulative Update from K2 Partner and Customer Portal.
  3. Get the K2 4.7 August 2017 Cumulative Update FP4 from Regional Support.
  4. Install the K2 4.7 August 2017 Cumulative Update FP4 to apply the fix.
  5. Run the K2 for SharePoint Registration Wizard.
  6. Re-deploy the workflow.