Linked tasks moving with predecessors

Just curious:

Is there any way for tasks that are linked to others to move when the predecessor is, so that the space of work days between them stays the same?

For example, I have a task (#1) starting on 6/23 and ending on 6/26, and a linked task (#2) starting the following Monday, 6/29, also the next working day. If #1’s end date gets moved to 6/29, I want #2’s start date to move to 6/30.

Is this even possible? I haven’t seen anything about this functionality in the API.

Thanks!

Hi,
this functionality is planned to be released with the nearest update. For now you can check the extension from this topic viewtopic.php?f=15&t=40999

This seems to be exactly what I need!

However, when I update tasks, nothing seems to happen. I need to post the changes back to the server, and only on a success do I want to update the schedule. I have a onSuccess function set up that executes exactly when I want it to (Sorry if that doesn’t make much sense: Basically, I only want the schedule to update if the changes go into effect on the server, and that part IS set up correctly).

However, gantt.autoSchedule(task.id); seems to have absolutely no effect. No matter where I put it, everything executes, but it just never updates.

This is also supposed to maintain the days in between schedule items, correct?

Thanks for the quick reply!