Hi,
We are planning to use FPTR to manage multiple projects, with each project assigned to different subcontractors. Some of these subcontractors are based overseas, so we need to assign holidays based on the user’s country.
The method I have in mind involves using an event daemon to assign country tags to user groups. The event daemon would then detect this and use the Shotgun.work_schedule_update(date, working, description=None, project=None, user=None, recalculate_field=None)
API to manually input the holidays.
However, this method has a few limitations:
- I’m unsure how to handle already assigned work schedules when a user is reassigned.
- I need to figure out how to keep the holiday data up-to-date and synchronized.
Here are my specific questions:
- Is there a better method than using an event daemon to detect country tags and automatically assign holidays?
- How can I efficiently handle work schedules that are already assigned when reassigning users?
- Do you have any advice or examples on maintaining and automatically updating holiday data?
I would greatly appreciate any advice or experiences you can share.
Thank you.