In the K2 Five workflow designer, the following error appears when trying to deploy a workflow:

"Missing reference at EmailConfiguration in Event 'Send Email' in Activity 'Send Email'. Error: Could not establish a connection to the manager"



The K2 Service account is missing from the environmental fields Permissions on K2 Management.

Note: SMTP was used and the K2 Service account needs access to the environmental Fields to perform the Send Email Activity


- Navigate to K2 Management > Environment Library > Development (Default Template)

- Add the K2 Service account to the Environmental Field permissions levels (Modify and Read Only)

- After adding the account the deployment should be successful.