Task approval/reassignement email notification

AbdulrehmanT
Kilo Guru

 Hey Everyone below is my requirement and im using the scheduled job (attached below code) created 3 event and notification for it. I need some guidance can anyone please look at the solution as its not working on my side

HIGHLY APPRECIATED

Approval Task Automation

Automatic Reassignment:

If a Cost Center leader does not approve/reject within 3 business days, the system must:

Reassign the task to the next-level approver (if one exists), or

Reassign to another eligible leader (if the original leader is on leave).

If no action is taken after 3 days at the highest approval level, the task must be automatically cancelled.

Leave Handling:

The system must exclude leaders on leave from approval assignments.

Requirement 3: Email Notifications
CC "Requested For" Person:

All approval request emails and reminder emails sent to approvers must carbon copy (CC) the "Requested For" user listed in the ticket.

Key Constraints:
Timeframe: 3 business days for reassignment/cancellation.

Hierarchy: Must follow approval chain logic.

Notifications: Must include CC functionality for transparency.

 

1 REPLY 1

AbdulrehmanT
Kilo Guru

here are the screenshot of atory and schedule job code