Errors

The Errors node allows you to Add, Edit and Delete Error Profiles to view Workflow instances in Error status. You can then go to these Profiles and Retry Workflow instances in error state (see the topic Retrying workflow errors for more information and background on repairing failed workflows with the Retry command).

K2 workflows can encounter unexpected errors from time to time. The very nature of K2 solutions (where K2 acts like an intermediary between different systems and may depend on other systems like Active Directory) means that K2 processes can sometimes fail if there is a problem with a supporting system. If the workflow developer has not specifically handled errors in the workflow design, any processes that encounter unexpected errors will be put into Error status and K2 will suspend further execution of the workflow. These processes will appear in the Error Profiles section, and the K2 administrator can then Retry failed instances of the workflow when the root cause of the error is resolved.

You can create separate Error Profiles to filter errors based in various selections. For example, perhaps you have a workflow that often fails because of an unreliable third-party system. You can create a separate profile for only this workflow, so that you can easily select all the errors in that Error profile and retry all the errors at once. Alternatively, you could create an Error Profile to list only specific types of errors (for example Destination errors) so that you can easily list and manage workflows that failed due to that particular type of error, e.g. when K2 is unable to assign tasks to users.

Error Profiles

The All Error Profile is created by default and will be listed in this view. This profile lists all Workflow instances in error status. The Error Profiles view is used to Add, Edit and Delete profiles. See Working with Error Profiles to learn how to retry Workflow instances in error state.