How to copy a process in K2 BlackPearl

  • 12 December 2014
  • 2 replies
  • 4 views

Badge +1

Hi

I would like to know if there is a correct way of copying a K2 process.  For example if I have a process called Change of Address.kprx I want to copy the file and rename it to Change of Address Custom.kprx.  I have found that just renaming the file is not good enough as there are other things that need to change inside the KPRX XML.

 

As a minimum I it's obvious that the Name and OriginalPath in the XML have to change but what else. 

 

I can see that if I make two new processes that the following elements are different.

 

GUIDS for every assembly reference

GUIDS for every execution layer

GUIDS for every start activity

GUIDS for every property wizard definition

GUIDS for every smart object design services designer mapping

Top level GUID

Top level Name

Top Level Original Path

 

How many of these need to change.

 

Our current approach is cloning a process is to create a new empty process then copy and paste from one to another however there is still a lot of work to do adding fields and other properties so it would be greate if there was an easier way to do it.

 

 

 

 


2 replies

Badge +5

This article I believe should have all the information you need.
http://help.k2.com/kb000136

Badge +1

This applies to K2.Net .KPR files and not K2.Blackpearl KPRX files.

Reply