Settings

The Settings tab allows you to configure and manage Instance Threshold Policies on a workflow in your environment. Instance Threshold Policies help prevent looping and recursive workflows from entering a loop state and causing server performance degradation.

You can set Instance Threshold Policies on the K2 server at workflow server level, meaning all workflows in your environment follow one policy. See Workflow Server Settings for more information.

The Instance Threshold Policy contains two options, Workflow Instances and Step Instances.

  • The Workflow Instances option allows you to configure a policy setting that, if a certain amount of workflow instances are started within a certain amount of time (in minutes), then any new instances are put into error state.
  • The Step Instances option allows you to configure a policy setting that, if a certain amount of steps are executed within a workflow instance within a certain amount of time (in minutes), then that workflow instance is put into error state.

Permissions

To configure a policy at a workflow level, you need to have administrator rights on the workflow.