Error on compiling the K2 workflow solution on other environment "SmartForms Runtime 1"

  • 24 November 2014
  • 1 reply
  • 0 views

Badge +2

When we try to compile our K2 Visual Studio solution on any other server we are getting below errors for all the events where we have used Smart Forms. The code is compiling fine on the development server where the code was developed. The test server where we are trying to compile the solution is having all the artefacts (Smart Forms, Smart Objects and Workflows) deployed through the K2 deployment tool.

Not sure what we are missing here. Any help will be appreciated. Thanks.

 

 

Error      1              The field 'SmartForms Runtime 1' used in the Event Item on the 'Approval' Event does not exist in the environment library. Create the required field where necessary.       C:Application CodeWorkFlowsRequestApproval.kprx   0              1              ApprovalProject


1 reply

Userlevel 1
Badge +8

It looks like you are connected to a K2 environment on your test server that does not have the SmartForms Runtime 1 environment library variable created.

 

In Visual Studio on the test server make sure you are connected to the same Dev environment in your K2 Object Browser as you were on the Dev server (Click the Environment Drop Down and select Environment). If its not there select Change Sever and add the Dev server details in.

 

 

Reply