Instances

The Management Console in K2 Workspace is superseded by the K2 Management Site and you should use the K2 Management Site to administer your K2 environment, rather than Management Console in K2 Workspace. (In certain cases you may need to use the Management Console in K2 Workspace to perform tasks that are not exposed in the K2 Management Site.)

The Instances node is used to administer active instances of the workflow, and to start new instances of the workflow manually.

Option Description Notes
Start Start (Resume) an instance that is in the “Stopped” state. You can only Start a process that is in the “Stopped” state. The Start/Stop functions are normally used to suspend execution for processes temporarily, for example to hold off execution until a problem has been resolved. Note that if any events like Escalations occur while the process is stopped, K2 will not execute those actions while the process is stooped, but will execute them immediately when the process is started if the escalation time was reached while the workflow was stopped. Stopped instances will not appear in users’ worklists.
Stop Stop (suspend) the selected instances if the workflow is in “Active” or “Running” status You can only Stop process instances that are in the “Active” or “Running” state. “Active” means that the process is “alive” but waiting for something to happen. Usually this means that there is a client event that must be completed before the process can continue. “Running” means that K2 is busy executing code against the process. Processes should never be in “running” status for more than a few seconds (a few minutes is exceptional cases). If a process is constantly in the “running” status, it usually means that the workflow is in an endless loop and is negatively affecting the performance of the K2 server.
Remove Delete the process instance, with an option to delete the process history (reporting data) as well. The “Remove Log Entries” option will delete all reporting data for the process instance if checked. If a process is deleted but the workflow reporting data is not deleted, the process may still appear in workflow reports with a “deleted” status. If the reporting data is deleted (Remove Log Entries is checked, in other words), the process will not appear in any reports at all.
Go to Activity Force an active process to go to a specific activity in the workflow. This function is normally use to “skip” steps in the workflow or force the process to go back to a previous step. You can only redirect the process back to an activity in the same version of the process: if a newer version of the workflow has additional activities, they will not appear in this list. Note that K2 will execute all rules for the activity (e.g. destination rules, escalations etc.) again if the activity is restarted.
Start New Start a new instance of the workflow manually, optionally specifying the folio and entering values for any process-level datafields. Normally used to start test instances of a workflow manually, or to start a process that performs some “polling” action.
Select All/Clear All Select (or clear selected) instances so that the same action can be applied to all selected instances. Use this option to select multiple instances and perform the same action on all the instances simultaneously.
Once an instance of the workflow has completed, it can no longer be managed using the Instances management tool. A workflow instance is “Completed” when the process has nowhere else to go. This means that if the developer made a logic error (for example in a line rule) that caused the process to complete unexpectedly, you cannot “re-start” the process or force the process to skip that line, since it has already completed. The only way is to fix the logic error, deploy the process and then create a new instance of the workflow
You should take extra care when using the Instances functions to manage process instances. Taking override or delete actions in a production environment may lead to unintended consequences and the override actions you take may be irrevocable. You should understand the impact that the administrative override action will have on the workflow before performing that action
Field Description
Selected Selects the Process Instance, allowing the Instance button options to be used.
Process Full Name Presents the full name of the Process Instance.
Folio This is a unique identifier that is used to identify each instance of a Process.
Start Date This is the date that an instance of the Workflow Process was started.
Status This is the status level of the Process instance e.g. completed, active or error
Originator The User who started the Process Instance.