Reshuffle is an action within the Gantt that allows rescheduling multiple service appointments at
once based on predefined criteria such as emergency priority, travel time, or skills[209]. Reshuffle
would allow Universal Containers to dispatch emergency work identified throughout the day that
needs to be completed before lower-priority work by running a reshuffle action that prioritizes
emergency work and assigns it to the best available resources[210]. Defining a Global Optimization
job to run hourly would not allow Universal Containers to dispatch emergency work identified
throughout the day that needs to be completed before lower-priority work. Global Optimization is a
feature that allows rescheduling multiple service appointments at once based on predefined criteria
such as emergency priority, travel time, or skills[211]. Running a Global Optimization job hourly
would not be responsive enough for emergency work identified throughout the day. Creating a
custom Gantt action to call an Apex class to reschedule appointments would not be necessary for
Universal Containers to dispatch emergency work identified throughout the day that needs to be
completed before lower-priority work. Custom Gantt actions are actions within the Gantt that can be
customized using Apex code to perform specific tasks such as sending notifications or updating
fields[212]. Creating a custom Gantt action would require additional development and maintenance
and would not leverage the existing Reshuffle action. Writing a batch Apex class to unschedule low
priority work orders would not allow Universal Containers to dispatch emergency work identified
throughout the day that needs to be completed before lower-priority work. Batch Apex is a way of
processing large volumes of data asynchronously using Apex code[213]. Writing a batch Apex class
would require additional development and maintenance and would not leverage the existing
Reshuffle
action.
Reference:
https://help.salesforce.com/s/articleView?id=sf.fs_gantt_reshuffle_overview.htm&type=5
https://help.salesforce.com/s/articleView?id=sf.fs_gantt_reshuffle_run.htm&type=5
https://help.salesforce.com/s/articleView?id=sf.fs_optimization_global_overview.htm&type=5
https://help.salesforce.com/s/articleView?id=sf.fs_gantt_custom_actions_overview.htm&type=5
https://developer.salesforce.com/docs/atlas.enus.apexcode.meta/apexcode/apex_batch_interface.htm