Cancellation of leave
There are two conditions on this form:
Activate this task when...
'HR: Approve or deny' IS 'Approved'
AND
'Email' IS '{user.email:{field.value:68ac80a180dd4afb9bb1a515df6d9f3d}}'
This form is only displayed if HR approved the leave request in the 'HR leave request process' form. The form can only be viewed by the employee who was selected in the original form, 'Leave application'. (It is specifically only displayed if the person who is logged in has the same email address as the employee who was chosen in the first form.)A form is displayed with the details of the employee's leave. The employee has the option to select the 'Yes' checkbox, indicating that they'd like to cancel their leave. After filling in a reason for their leave cancellation, they save the form to cancel the leave.