Auto reject approval request if leave is withdrawn beyond 60 days
Summary:
We want the system to auto reject the approval transaction if the employee requests withdrawal of applied leave beyond 60 days.
Content (required):
Leave applied on 1st January and approved. We have set approval for withdrawal case where condition it goes for approval: (absencesApprovalsRequest.notificationName == "DELETE"). However, we want to auto reject withdrawal if the date of delete action is performed beyond 1st March
Version (include the version you are using, if applicable):
23C
Code Snippet (add any code snippets that support your topic, if applicable):