It is important to understand the setup of your multiple environments. New installs of K2 Five do not have K2 for Visual Studio, and it is only included in the upgrade installation.
There could possibly be a scenario where a Workflow is created in Visual Studio, but the target does not have K2 for Visual Studio. When trying to Package and deploy this solution using the MMC tool, an issue appears that states: "Incompatible Workflow." See below:
The reason for this is that the Target environment does not have the Visual Studio components.
There are 2 options:
1. Create the Target Environment with K2 for Visual Studio. This entails removing K2 Five, installing K2 Blackpearl 4.7 and installing K2 for Visual Studio, then upgrading the environment to K2 Five.
2. Deploy the workflow directly to the K2 Workflow Server for the target environment using the Deploy button from Visual Studio.
Follow the steps in the Documentation below:
- Point the Deployment to the Target Environment's Workflow Server
- Make sure the correct Environment Library/String table is selected
- This will deploy the workflow directly into the K2 Workflow Server and can then be used automatically.
- You may need to update SmartObjects to ensure you are using the correct SmartObjects after deployment.