Skip to main content

How does K2 blackpearl knows where to deploy the project? I see that there is no property. I made "Environment" as development. It deploys in SERVER1, how can i deploy it in another development server i.e SERVER2?

Create an another environment e.g Test with the server2 settings. When u try to deploy from the Visual Studio, K2 deployment wizard will help you to select the environment.


Regards


NathanPillai


The K2 Environment Library is configuration for vairaibles and their values that will be used when you deploy to another environment. They are not to be considered actual physical environments.


Assuming you are using K2 Studio or K2 for visual Studio to deploy a workflow to a different server you have two main options


1) Create an MSBuild Package and then execute that package on the server


2) If you are lucky enough to have access from VS to your other environment then you can change the server that VS is connecting to (Select the small arrow at the right of the title of the K2 Object Browser and select change server. When deploying then select the correct environment that will source the run time values to be pushed to the target server and deploy.


I recommend that you read the following KB articles to help you:


http://help.k2.com/en/EnvironmentLibrary_Whitepaper.aspx


http://help.k2.com/en/KB000188.aspx


I hope this helps


Reply