Statuses
Last updated
Last updated
The internal case status is a case property that indicates the current internal state or status of a case. The term "internal" reflects that, by default, this status is not intended for communication with customers. Instead, it is used solely to track te progress of case handling.
This setting is particularly effective in environments that integrate case and process management. Storing an internal case status as metadata enables teams to establish specific internal statuses that case handlers can apply and track. Typically, case handlers work with a more extensive set of case statuses than those visible to customers or clients. This approach allows for refined tracking and management of case progression while maintaining a simplified view for external stakeholders.
Go to the Admin
menu
Go to the Cases
menu and select the case to configure statuses for
Select the Statuses
tab
A status can be added with the Add status button. A modal will be shown with the configuration options.
Name Used as a label in the case summary and case list, the name is presented in the UI.
Key The identifier of the status, this must be a unique value within the scope of the case it is added to. A key based on the name is generated automatically but can be overwritten via the pencil button.
Color Statuses are are displayed as a badge in the case details and list screen UI. This badge will be displayed in the selected color. List of available status colors:
Red (RED
)
Magenta (MAGENTA
)
Purple (PURPLE
)
Blue (BLUE
)
Teal (TEAL
)
Green (GREEN
)
Cyan (CYAN
)
Gray (GRAY
)
Cool gray (COOLGRAY
)
Warm gray (WARMGRAY
)
High contrast (HIGHCONTRAST
)
Outline (OUTLINE
)
Visible Indication if cases in that status should be shown on the case list screen by default.
Statuses are automatically added to the case search filters
When statuses are configured for a case an additional search filter will be added to default search of the case list screen. This search filter enables to hide cases on the case list by default based on the status of the case. When the visible indicator for a status is set to false then cases that are currently in that status will not be displayed by default on the case list. Via the search filter options on the case list screen these statuses can be enabled to view all cases.
Statuses can be ordered, which will be used for the following:
Order of statuses in the status configuration screen
Order of statuses in the status filter dropdown within the search filters
When a case list column is configured to display the case status, this status column can be further configured to be sortable.
When statuses are configured for a case, an additional search filter is automatically applied to the Search Filters UI. This filter enables users to display or hide cases based on their configured status. The Visible configuration setting for each status controls whether a particular status is enabled by default in the search filter when the case list page is accessed.
This functionality allows users to customize the visibility of cases in the case list, ensuring that case handlers can focus on the most relevant cases upon initial view.
To enable the ability to set statuses at certain phases in the process, an expression can be added to any element in the process model where the case status should change. The following expression is available for setting a case status via the documentDelegateService:
${documentDelegateService.setInternalStatus(execution, 'new')}
Next to setting a status via the process model it is also possible to set the case status via Form.io forms that are connected to user tasks in the process. The Form.io submission data will then submit the new status in stead of the process.
In order to change the case status via Form.io the case:internalStatus
targetKey can be used on a hidden form field to add the status change to the form submission. Due to the case:
prefix the data is registered as meta data in stead of case data.
By adding the required status changes to the process the case list will represent a clear overview of the workload and the progress for that case. By using the Visible setting as described above cases in a certain status can easily be hidden be default. These cases can be made visible via the search UI. Below screenshot shows a case where the Completed status is configured not to be visible by default. This is what the search dropdown looks like when this is set. By enabling Completed the cases are immediately visible. A reload of the case list will fall back to the configured settings and the cases will be hidden again.
Case status configuration is included in the Case definition export and import by default. The export structure and format of the case statuses is exactly the same as described in configuring statuses via IDE.