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.
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 attempting to deploy a K2 Package and Deployment package on a different environment, you may run into the following error:
"Process [ProcessName] failed to deploy.
The following errors occurred while compiling the process (with framework version 4.0): C:\ProgramData\Temp\e4d77a256bbd4d55a1ded72da25b8150\[WorkflowName] Workflow.kprx(0,0) : error : The field '[FieldName]' used in the Event Item on the '[EventName] Server Event does not exist in the environment library. Create the required field where necessary."
This issue may occur if you have a custom field
inside your environment library.
To workaround the issue, create the custom field on your deployment environment manually, and your K2 Package will be able to deploy.
However, the developers identified this as an issue and it has been resolved in the latest version of K2.