+44(0)1908 545 770
YOUR EXPERT RPA PARTNER

Team up with our RPA strategy and tech specialists for maximum automation impact

Find out more
Harness the power of UiPath in your business.
WATCH NOW

Save money and spend more time on priority work.

Book consultation
READY, SET, AUTOMATE

Let's choose, design and deploy a process automation solution for your business.

Find out more
TRANSFORM YOUR BUSINESS

Let's analyse your business to discover opportunities for innovation and automation.

Find out more

Begin your business transformation journey

Book consultation
AUTOMATE EVERY FUNCTION

Automate where it matters most. Scale to solve challenges in every area

Find out more
GIVE EVERY TEAM THE TOOLS FOR SUCCESS

Equip people with user-friendly solutions that save time and make work easier

Find out more

Which business problem
can we solve first?

Book consultation
20 August 2014

How to deploy a K2 blackpearl process or smartobject

How to deploy a K2 blackpearl process or smartobject

K2 blackpearl Process and K2 SmartObject deployment using MSBUILD

Someone asked me today how to deploy K2 artefacts that are developed in K2 for Visual Studio.  It is actually quite easy.  Just follow these steps:

K2 Automated Testing Software

BenchQA allows full test automation of K2, including fully automated K2 SmartForms and K2 Workflow testing. It promotes test driven development for K2 and ensures continued quality assurance for K2 solutions. Easily apply changes to test cases to accommodate changes to K2 apps and ensure all apps are regression tested to avoid defects and assure continuous quality.

 

Free K2 Five Upgrade Review

 
1. With the K2 for Visual Studio highlighted, right click on the K2 project and click on Create Deploy Package

2. Following the same step above, but click on Open Folder in Windows Explorer to view the deployment package

Open K2 Deployment Package in Windows Explorer3. Depending on your Visual Studio configuration, open the objdebug or objrelease folder and then the deployment folder

Open K2 Deployment Package MSBUILD4. Open the MSBUILD file with a text editor and set the values of the string table entries (Field Name=”example entry”) for the environment you are targeting.  The one below shows the Field Name values for the ‘Development’ environment.  Save the file

Save K2 Deployment Package MSBUILD file5. Open command prompt and run the msbuild.exe command with the path to the msbuild file and /p:Environment=Development as arguments.  If you are targeting a different environment, replace the =Development with the name of your environment for example /p:Environment=Production

Here is the complete example command:

C:WindowsMicrosoft.NETFramework64v3.5>msbuild "C:Installsv2.4K2.WF.msbuild" /p:Environment=Production

Deploy K2 MSBUILD package6. When the process succeeds, you will see the Build succeeded message, otherwise details of the exception

Deploy K2 MSBUILD package succeeded

Need further technical advice or support?