Processes
Last updated
Last updated
In order to be able to create new cases based on a case definition a process needs to be connected to the case definition. Valtimo uses processes (BPMN 2.0) to guide a case through an organization and gather case information needed for that specific case.
This case tab makes it possible to connect any process in that implementation to the case definition.
This page requires:
A case definition
A process definition
Linking processes to the case definition can be done via the UI or the IDE.
The "Link process" button will open a modal with the option to select any process that exists within the implementation.
The checkboxes can be used to identify what type of process is being linked. Some processes are relevant when a new case is started and other processes are only relevant in certain states of the case.
These types of processes generally have the start form configured that is used to create new cases. Connect the process and select the checkbox. At least one process should have this option selected, otherwise the "Create New Case" button will remain disabled.
Multiple start forms can exist for a single case and if this is configured a pre-selection modal will appear presenting available start forms when the "Create New Case" button is clicked.
Select this checkbox for processes that support a case during a specific period or state. These processes are available under the "Start" button on any tab of the case details.
Leave both checkboxes empty when a sub-process needs to be added to the case definition. In larger process models it's often helpful to move parts of the process to a sub process that can be activated via a so-called "Call activity" element in the main process.
These sub-processes are not starting processes for the case and should not appear in the Case actions menu under the Start button in the case details UI. It is important to link these sub-processes to the Case definition in order to automatically store the data that is fetched by these processes in the JSON document of that case.