Case start form

Case initiation form plays a key role in launching the workflow process, as it serves as the starting point of the entire workflow. It is used by the user to initiate a new case (that is, a new process instance) by entering the necessary data that forms the basis for the further course of the process.

Such a form makes it possible to collect all information required to correctly start and direct the workflow—for example, applicant data, a description of the problem, or attachments. Thanks to this, the system can automatically determine the appropriate paths of action, participants, and tasks.

A properly designed start form therefore ensures not only the correct initiation of the process, but also order, completeness, and quality of data.

Association of the form with the case type

We attach the process definition to the form in the Steps tab of the application editor, in the section Application save point, by adding the EximeeRouter2 element and setting in it:

  • Process name - process definition key, that is, the key identifying the process definition

  • Case number (Business key) - a component or session variable that contains the value for the business key of the created request. By default, if the parameter Case numberis not filled in, it will take the value of the request number.

Configuring this panel results in the integrated process being started after passing the application save point.

Figure 1. Configured application save point

Starting the process instance and redirecting to the user task

It is possible to simultaneously save the application, start the process instance, and redirect the user to the next task. To do this, add a component to the application, e.g. Trigger. Then, in the artifact properties, define the action START_PROCESS_AND_RESUME. More information in the section Actions

Passing data from the application to the process

To pass data from the application to the process, it is necessary to add the session variable use-model-mapping and set its value to true. Then we map data from the application fields to variables in the process in the Data modeltab. Mid column contains the component id, and UniFlow ID the name of the variable in the process to which the value from the application is mapped.

Figure 2. Mappings on the application

More info: Passing data to the process

Last updated

Was this helpful?