Approval case element
The Approval case element () is used for creating approvals, as well as for setting up approval-related notifications.
Specify the approval parameters in the element’s setup area (Fig. 1).
Set up an object to approve
Fill out the following fields:
-
Approval purpose – default purpose is “Approval required.” The approval purpose is displayed on the Approvals detail of the record being approved. To display the title in the assignee's language, make sure the “Create business process tasks in the owner's language” (“UsePerformerCultureInUserTask” code) system setting is enabled and the Translation section includes the translation. Learn more: Localize UI via the Translation section.
noteIf the assignee is a group whose members use different Creatio languages, the title will use the default culture.
-
Approval section – the records of this section will be submitted for approval.
noteThe dropdown list contains sections where approval is enabled. Learn more: Work with approvals.
-
Record Id – the record approved. This is a required field.
Set up the approver
Fill out the following fields:
-
Approver – select one of the options and fill out a field that opens:
-
“User” – specify the approver in the Employee field.
-
“Employee’s manager” – specify the employee whose manager will be assigned as the approver in the Employee field. Creatio will submit the approval to the contact specified in the Manager profile on the employee page.
noteIf the employee’s manager cannot be found, the approval will still be created, but the Approver field in it will be empty. In this case, a system administrator user can use the Change approver command in the actions menu of the Approvals detail to assign an approver.
-
“Roles” – specify the role the users with which can approve the record in the Role field.
-
-
Approval may be delegated – select the checkbox to allow the approver to forward the approval to another employee.
Set up the approval notifications
Set up sending of email notifications for the employee who created the approval and the approver in the Send email notification area.
Set up the mailbox for email notifications in the Mailbox for sending email with information on approval system setting. Access the system setting in the Process Designer by clicking the button in the Send email notification area.
Create email templates in the content designer, for the corresponding object. For example, to set up a notifications for document approvals, create a template using the Approvals in section Document object. The approval objects are created automatically when you select the Enable approval in section checkbox in the section wizard. If the lookup of the Enable approval in section does not contain the template you need, click in the right part of the field to add a new email template. Learn more: Create an email template.
-
Select the Notify that approval is required checkbox to notify the approver. As a result, the approver user will be notified whenever a record is submitted for approval. If you select “Role” in the Approver field, all members of the corresponding role will receive a notification.
-
Email template – select a notification email template from the Email templates lookup.
-
Select the Notify about the approval result checkbox to notify the employee about the result of the approval.
-
Recipient – specify who will receive the email notification: an email address, a contact, or an account. You can enter the value in the Recipient field directly or map it using the parameter value menu. For example, map the recipient to the Owner field of the record submitted for approval.
-
Email template – select a notification email template from the Email templates lookup.
-
Ignore errors on sending – select the checkbox to continue the case regardless of notification sending errors. Otherwise the case will end with an error should a sending error occur.
-
When is the step performed? – indicates whether to activate element at the start of the stage or after a case step. By default, the step is performed at the start of the stage. Select “After the previous step is complete” if the Approval element must start after the previous step in the case stage. Specify the step in the Perform after step field.
noteUsers can advance to the final “unsuccessful” stage from any stage without completing the required steps.
-
Step type – specify if the step is required. Select “Required step” if the task must be completed to transition to the next stage. If the approval is not required to perform to transition to the next stage, select “Optional step.”
-
Change stage after element is completed – click Add condition and set up transitions based on the approval results.
-
Select one of the available approval results in the If result column and specify the next stage in the Set stage to the column.
What happens when the Approval element is activated
- A new approval record is created. All approval information, such as the approver, approval result, comments, etc. is displayed on the Approvals tab of the record that was submitted for approval. Learn more about the Approvals tab: Work with approvals.
- The first email notification is sent to the approver user or role when the approval record is created.
- After the approver approves or denies the approval, another email notification is sent to the employee specified in the Recipient field under the Notify about the approval result checkbox.