Hey Maxim,
Thanks for the update.
On which basis you are setting the constraint date? For example, the task i am going to receive has end date, duration which are updated. How you are defining constraint date?
Support Forum
For my case, end date, duration, percent are going to be changed which needs to be resulted in auto calculations. Can you provide insights on that if i need to apply any constraint there?
if duration changes?
if percent done changes?
if end date changes?
What will be the updated task json body against these 3 scenarios?
Looks like you got confused. You only need constraint if you want task to start/end at/no earlier/no later than specific point in time.
What will be the updated task json body against these 3 scenarios?
It should be an object with a task id and modified field. Except for endDate, which does not have effect in applyProjectChanges
.
I suggest you to run a Gantt application with your data, modify one of the fields and then evaluate project.changes
in the console. It will help you to understand how project reacts on changes and what the object structure should be. You can try applying crafted changes object to better understand how project behaves in these situations.