For more information, please refer to this announcement explaining best practices for getting answers to questions.
Absence: Approvals reset on update
Content
Current scenario:
Using a custom program (using rest API and user- Production.API), absences are being applied for the employees if there are any compliances. These absences are auto-approved as approval flow has the following condition:
If (absencesApprovalsRequest.createdBy == "Production.API") then self auto approve.
Now, when an employee deletes any of the absences applied by the above program, then it is also getting self-auto-approved.
Probably, it following the same path when absence is being applied and deleted. Not sure if it works like that.
Requirement:
When an employee deletes any of the absences applied by the above program, then it should go for approval to the manager.