Relation between task duration, start, finish, and predecessors

%3CLINGO-SUB%20id%3D%22lingo-sub-2724667%22%20slang%3D%22en-US%22%3ERelation%20between%20task%20duration%2C%20start%2C%20finish%2C%20and%20predecessors%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2724667%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20creating%20a%20project%20and%20related%20tasks%20through%20ReST%20API.%20All%20tasks%20are%20created%20in%20auto%20schedule%20mode.%20Here%20is%20the%20summary%20task%20structure%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22rohanw24_5-1630930403224.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F308314i22F264440DA97A59%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22rohanw24_5-1630930403224.png%22%20alt%3D%22rohanw24_5-1630930403224.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ENow%2C%20when%20I%20change%20schedule%20mode%20to%20Manual%2C%20edit%20start%20date%20of%201st%20task%20and%20set%20predecessors%20for%202nd%20and%203rd%20sub-tasks%2C%20I%20get%20this%20result%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22rohanw24_3-1630930264404.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F308312iB212C9D44BC77BBB%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22rohanw24_3-1630930264404.png%22%20alt%3D%22rohanw24_3-1630930264404.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EAfter%20applying%20predecessors%2C%20scheduling%20engine%20updates%20finish%20dates%20for%202nd%20and%203rd%20sub-tasks.%20Ideally%20if%20we%20look%20duration%20field%20values%20(in%20hours)%20for%20the%20these%20sub-tasks%2C%20finish%20date%20should%20remain%20same.%3C%2FP%3E%3CP%3EDoes%20anyone%20knows%20what's%20going%20wrong%20or%20how%20to%20avoid%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20%26amp%3B%20Regards%2C%3C%2FP%3E%3CP%3ERohan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2724667%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOnline%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EProject%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EProject%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2725228%22%20slang%3D%22en-US%22%3ERe%3A%20Relation%20between%20task%20duration%2C%20start%2C%20finish%2C%20and%20predecessors%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2725228%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F939454%22%20target%3D%22_blank%22%3E%40rohanw24%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20is%20something%20missing%20from%20your%20description.%20Apparently%20the%202nd%2C%203rd%2C%20and%204th%20subtasks%20have%20a%20start-no-earlier-than%20constraint%20because%20they%20have%20no%20driving%20(predecessor%20task)%20yet%20their%20start%20date%20is%20beyond%20the%20summary%20start%20date%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESetting%20up%20the%20scenario%20shown%2C%20this%20is%20what%20I%20get%20(same%20as%20what%20you%20show).%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%222021-09-06_07-49-10.png%22%20style%3D%22width%3A%20527px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F308342iBB3D6147B2D2339A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%222021-09-06_07-49-10.png%22%20alt%3D%222021-09-06_07-49-10.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThe%20only%20task%20that%20is%20changed%20to%20manual%20scheduling%20is%20the%201st%20subtask.%20Doing%20that%20and%20applying%20the%20task%20dependencies%20gives%20this%20result.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%222021-09-06_07-50-46.png%22%20style%3D%22width%3A%20639px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F308343i8833C3DAB5820DB1%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%222021-09-06_07-50-46.png%22%20alt%3D%222021-09-06_07-50-46.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EEverything%20is%20as%20expected%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2725928%22%20slang%3D%22en-US%22%3ERe%3A%20Relation%20between%20task%20duration%2C%20start%2C%20finish%2C%20and%20predecessors%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2725928%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F917748%22%20target%3D%22_blank%22%3E%40John-project%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAccording%20to%20you%20what%20should%20I%20do%20or%20points%20I%20need%20to%20take%20care%20of%20while%20creating%20this%20summary%20tasks%3F%20Did%20I%20missed%20anything%20or%20done%20it%20incorrectly%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20%26amp%3B%20Regards%2C%3C%2FP%3E%3CP%3ERohan%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hello Everyone,

 

I'm creating a project and related tasks through ReST API. All tasks are created in auto schedule mode. Here is the summary task structure:

rohanw24_5-1630930403224.png

Now, when I change schedule mode to Manual, edit start date of 1st task and set predecessors for 2nd and 3rd sub-tasks, I get this result:

rohanw24_3-1630930264404.png

After applying predecessors, scheduling engine updates finish dates for 2nd and 3rd sub-tasks. Ideally if we look duration field values (in hours) for the these sub-tasks, finish date should remain same.

Does anyone knows what's going wrong or how to avoid this?

 

Thanks & Regards,

Rohan

5 Replies

@rohanw24 

There is something missing from your description. Apparently the 2nd, 3rd, and 4th subtasks have a start-no-earlier-than constraint because they have no driving (predecessor task) yet their start date is beyond the summary start date

 

Setting up the scenario shown, this is what I get (same as what you show).

2021-09-06_07-49-10.png

The only task that is changed to manual scheduling is the 1st subtask. Doing that and applying the task dependencies gives this result.

2021-09-06_07-50-46.png

Everything is as expected

Hi @John-project,

 

According to you what should I do or points I need to take care of while creating this summary tasks? Did I missed anything or done it incorrectly?

 

Thanks & Regards,

Rohan

rohanw24,
Well I don't know. Your screen shots only show a partial view of your plan. For example, I can't tell which column is represented by what field (i.e. ID, indicator, etc.). And the screen shot also does not show if the view is sorted or filtered or if the four tasks are the only subtasks under that summary line.

So the bottom line is, there is simply not enough information provided for me (or anyone else) to determine why you are getting what you show in your screen shots.

Just for reference, why would you want to change one of the subtasks to manual scheduling? In my view manual scheduling mode is not very useful except perhaps for creating a very rough starting point for a plan being developed.

John

Hi @John-project,

 

Please see the below screenshot: 

 

rohanw24_0-1631018019165.png

rohanw24_3-1631019608152.png

I hope this will now give you more information.

 

Thanks & Regards,

Rohan

Rohan,
Although the latest screen shot does show which fields and that the view is not sorted or filtered, it doesn't show enough to tell me whether there are additional subtasks under the summary.

Are there any resources assigned to the tasks?
If so, do resources have the same base calendar as the Project calendar or if different, how different?
Did you level the plan?
What is the Project calendar?
Are there any task calendars?
Is calculation set for "auto"?
What sequence of steps did you do between the first and second screen shot?

So unfortunately, still not enough information to answer your question. But perhaps the more important issue is, what exactly are you trying to accomplish?
John