Custom AutoSchedule Logic

I am in the process of evaluating the Gantt chart for our product however one of the features we need is to have the autoScheduler not push the task but its baseline dates and then stop the autoSchedule from going down that tasks links. I was trying to achieve this with the onBeforeTaskAutoSchedule and onAfterTaskAutoSchedule events but if the start_date of the task does not need to be shifted then the onBeforeTaskAutoSchedule is not called on it. I could add a custom autoSchedule algorithm but I was hoping not to have to do that so I don’t remove any functionality. Is there a way to customize the autoSchedule algorithm to support this?

Right now, there is no way to do that. The auto-scheduling extension works only with the default date parameters: start_date, end_date, duration. I will add your feature request to our internal wishlist. The dev team will think about implementing that.

For now, it would be easier to treat the default date parameters as the baseline dates and the baseline dates as the task dates. It is possible to add the feature to drag and resize the baselines, so visually, it can work the way you want.

Here is an example that can help you to start implementing your solution: