This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Issue

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"

Image

Symptoms

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

Resolution

- 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. 

Image