Help ELMA BPM Platform
×
Menu

Configuring an outgoing transition of the Approval activity

Configuring an outgoing transition of the Approval activity

An Approval activity must have two outgoing transitions with the Approved and Rejected statuses.
These transitions correspond to the Approve and Reject buttons in the web application, in the toolbar of the Approval task.
The settings of the Approval activity outgoing transition is similar to standard transition settings, but  include additional parameters: Transition Status, Possibility to add a comment, Require a Comment, and Sign Document (fig. 5).
Fig. 5. Configuring a transition. Transition Status
Possibility to add a comment – if you check this box, the user will be able to add a comment when completing the task with this transition. When this box is checked, an additional field Require a comment is displayed.
Require a comment – if you select this checkbox, a user in the web application will have to leave a comment once the task is completed.
Sign document – a possibility to sign a document's attributes, or attributes of an approval task, as well as their contents, if the process flow follows this transition. The contents of the approval task and the signed document are always the same, but their attributes differ.
Signing the contents is only possible when using the CryptoPro CSP provider and checking Sign All (fig. 6). If you are using the internal provider, only the attributes of the document and the task will be signed.
There are several possible signing options:
Fig. 6. Electronic document page. Document status section. Complete signing with CryptoPro.
Fig. 7. Electronic document page. Document Status section. Signing attributes with CryptoPro CSP
Fig. 8. Electronic document page. Document Status section. Signing contents with CryptoPro CSP
If you are signing a document without a digital signature, whichever signing option you choose (except for Do not sign), the document will be signed in a standard manner shown in (Fig. 9).
Fig. 9. Electronic document page. Document Status section. Signing document without digital signature
When you click Change Status a dialog box will open, where you can select the transition status (fig. 10).
Fig. 10. Selecting a status
An approval activity must have at least two outgoing transitions: Approved (by default) and Rejected (by default). When adding connectors in ELMA Designer, first, the Approved (by default) transition is created and then the Rejected (by default). Other transitions (additional) have the Rejected status. If necessary, you can change the status of an additional transition manually in the transition status dialog box (fig. 10).
Additional transitions are usually used to create voting tasks, in which the approver can vote on the decision, stated in the document.
Below are the conditions of automatic transition selection in a process, where several approvers are involved in approval.
Approved (by default) – the process will follow this transition if the document is approved by all the users, or one of these conditions is met:
The document version status will change to Approved.
Rejected (by default) – the process will follow this transition if at least one approver rejected the document or one of these conditions is met:
The document version status will change to Rejected.
Approved – the process will follow this transition, if the document is approved by all the users and if most approvers select this transition. The document version status will change to Approved.
Rejected – the process will follow this transition, if at least one user rejects the document and most users, who rejected the document, select this transition. The document version status will change to Rejected.
Fig. 11 show an example of a Document Package Approval business process, which includes the main transitions (Approved and Rejected) and additional outgoing transitions (Approved with notes and Rejected. Send to the lawyer) of an Approval activity.
Fig. 11. Document Package Approval business process with additional outgoing transitions of an Approval activity
Note that the task completion buttons in the toolbar correspond to the default transitions of this task (fig. 12). The button names are defined in ELMA Designer.
Fig. 12. Approval task. Transition buttons