Scheduling a Function

Scheduling a Function

Hi folks,

I am building an app that tracks maintenance and training records as well as tasks assigned to staff.  Maintenance and Training records have their own reports as does the Tasks form.

I want both the Training and Maintenance records to create a task 12 weeks before their expiry date.  I have created a Function that works as a Custom Action in the Maintenance and Training records reports.  It takes the pertinent data from the record and populates the Task form.

I am struggling to schedule this Function.  I'm trying to use the "Call Function" deluge script within the scheduling portion of Creator.  I have also attempted to add a hidden radio button on the maintenance and training forms that I've scheduled to change 8 weeks ahead and then use the "Call Function" on the "On Update" of the field.

I keep erroring out on the script using the "Call Function".  Admittedly I'm not overly great with deluge so for this particular function I'm not even sure it is possible.

Thanks,