Assinging Work Order Tasks "Across Schedule Entries"

mcconnellsj
Mega Sage

Hi

I am looking for experience of assigning field agents across multiple days.  We have enabled this plugin for FSM and having difficulty working out why we are getting the following error.

find_real_file.png

Note that the error DOES NOT appear if I uncheck "Assign Across Schedule Entries".

Taking this literally, this must mean that the agent's schedule does not cover this day and time.

However even if apply the 24/7 schedule to this agent, the error still appears, and even if the duration is only an hour or a minute (so not spanning any schedule entries anyway).

I have the following entry for the user in the "Work Schedule" table (agent_work_schedule).

find_real_file.png

Surely if the work schedule is 24/7 this error would not appear?

Obviously something else is causing the error and a review of the relevant script includes reveals a sphagetti of functions that is tricky to follow.

(Conversely on my developer instance, I have the opposite issue: I do not get the error if I assign something at 2am to a user with a 8-5 monday schedule, so I am missing something that isn't to do with the schedule itself I think)

Thanks in advance.