This article details how to rename or copy an existing process or project.

Introduction

This Knowledge Base article describes a method; for when necessary, to change the name of an existing process or to create a duplicate of an existing process but with a different name. The procedure involves several steps, and before doing this, it is important to understand that there are two names involved. Every process has two names to identify it:

  1. The name given to the process
  2. The name given to the file that the process is stored in

Initially these are the same, however changing the process name in the process properties will still display the file name in the tab for the process canvas. This may be undesirable for demonstration purposes. Changing the name of the process file will remove the connection to the project, and will not change the name of the process as far as the K2Server is concerned.


The instructions below describe the required actions:
 
Renaming the Process:
In K2.net Studio
  1. Open the process that will be renamed from within K2.net Studio
  2. "Right" click on the applicable process and select Properties
  3. In the "Process General" window change the process' name
  4. Click "Ok"
  5. "Right" click on the process and select "Delete"
  6. When prompted to save the process, select "Yes"
From Windows Explorer
  1. Open the relevant file folder where the K2.net process is stored
  2. Locate and rename the (*.kpr) file with the same name that was used to rename the process in K2.net Studio
In K2.net Studio
  1. Add the renamed process to the project
Copying the process
In K2.net Studio
  1. "Right" click on the applicable process and select Properties
  2. In the "Process General" window change the process' name
  3. Click "Ok"
  4. Save the process
  5. "Right" click on the process and select Properties
  6. In the "Process General" window change the process' name back to the original name
  7. Click "Ok"
  8. When prompted to save the process, select "Yes"
From Windows Explorer
  1. Open the relevant file folder where the K2.net process is stored
  2. Locate and copy the (*.kpr) file
  3. Rename the copied (*.kpr) file
In K2.net Studio
  1. Either add the copied process to the project, or add the process to a new project

Note: As the project contains the information for the processes it contains, there will be no need to change the configuration of the processes.