Schedule Custom Triggers

Schedule Custom Triggers


I'm trying to automate part of my offboarding process (AD management) and am following the tutorial located here:

The issue I'm running into is that it looks like this sets up the script to run immediately upon approval.

I'm attempting to have the offboarding task run based on a custom field (a date/time picker) but can't seem to figure out how this would work.

This would allow HR to submit a termination reqest with a scheduled execution date/time, rather than it running immediately, or forcing someone to log in and approve the task at the actual termination time.

Is there a way to handle this?