Spis treści
1. Automatic task definition
Automatic tasks are components that perform operations in the system in a business process stage determined by the designer. They are used, among others for synchronizing form data with a database, writing to a database, etc. They do not require end user interference – only need to correctly setting and they download necessary information.
2. Automatic task adding
Automatic tasks are not added to the form, just like other components. Instead, you must add an automatic task to the map of your process. To do this, click on the „insert system” icon and place the field for the system on the map.
Automatic task can be added only for that field.
You can choose automatic task by clicking the gear buton.
From the pop-up menu you can select the interesting component.
After selecting component you should configure it.
It is important that after configuration you still need to connect the new map element with other map elements so that it has its input and output.
3. Component parameters
More informaton about the validator parameters are on a separate page: Component parameters
4. Automatic task editing
To edit an automatic task select the appropriate field on the form map and right-click on the properties (or double-click them)
Then go to the Applications tab and select the element from the list that interests you, then press the pencil icon
5. Errors handling
In nutomatic tasks may include errors (no necessary data in the database, incorrect configuration, programming errors). It should be ensured that in the event of such an error, our process properly manage with it. The "Error handling type" parameter allows you to select a service that will match to the map you create. We can choose from two options: "Acceptance interruption" and "Acceptance continuation".
5.1. Acceptance interruption
If you choose "Interrupt acceptance", the process will return to the manual task that preceded this automatic task and was accepted by the user. In the Comment field you define the content that will be added to this task. If the automatic task was not preceded by any manual task, the comment will not be added. The field "Message for the user" you complete with the information which will be displayed to the user in the event of an error. The message will only appear if the preceding manual task does not have parallel acceptance.
5.2. Acceptance continuation
If you choose "Acceptance continuation", the process will go to the next task according to the path on the map. In the Comment field you can define the content that will be added to this task. To enable the transition to the appropriate path, the "Assigning variables" parameter has been made available. The values should be given in text form (in the case of operating on other types, it is recommended to use the toString function). If you want to write a value to a table variable, then the values should be given in text form, separating subsequent elements with a semicolon, eg. "aaa; bbb; ccc".