<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Why am I getting &amp;quot;Manual task constraint date can not be updated&amp;quot; error when I try to update tasks from Planning Console? in SPM forum</title>
    <link>https://www.servicenow.com/community/spm-forum/why-am-i-getting-quot-manual-task-constraint-date-can-not-be/m-p/1045994#M35573</link>
    <description>&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;Hi Diane, &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;What's the constraint type&amp;nbsp;across each of those tasks and sub-tasks? (you may be able to find this in the same console page, see the image below).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/104889i0F65F2CA47CB8ED5/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;I think you're trying to&amp;nbsp;modify a project that has "Manual" in the calculation field. If this is the case, the OOTB PPM Standard application should disable the time constraint field when you create a task/sub-task. Wondering how it allowed you to update the time constraint, unless you modified some thing on the time constraint UI policy.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;Few things that might be of some help here:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;Do check the business rule - "&lt;STRONG&gt;ProjectWorkbenchPhaseValidationAndUpdate&lt;/STRONG&gt;" and check the below as well.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;function timeConstraintValid() { &lt;BR /&gt; if (current.calculation_type == "&lt;STRONG&gt;manual&lt;/STRONG&gt;" &amp;amp;&amp;amp; (&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;&lt;STRONG&gt;current.time_constraint == "asap" ||current.time_constraint == "snlt" || current.time_constraint == "snet"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;)) {&lt;BR /&gt; current.setAbortAction(true);&lt;BR /&gt; gs.addErrorMessage(gs.getMessage('&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Manual task time constraint can not be updated&lt;/STRONG&gt;&lt;/SPAN&gt;'));&lt;BR /&gt; return false;&lt;BR /&gt; }&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;Let me know how it goes.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Sep 2020 14:43:27 GMT</pubDate>
    <dc:creator>Chandru4</dc:creator>
    <dc:date>2020-09-17T14:43:27Z</dc:date>
    <item>
      <title>Why am I getting "Manual task constraint date can not be updated" error when I try to update tasks from Planning Console?</title>
      <link>https://www.servicenow.com/community/spm-forum/why-am-i-getting-quot-manual-task-constraint-date-can-not-be/m-p/1045993#M35572</link>
      <description>&lt;P&gt;Versions: Orlando and Paris&lt;/P&gt;
&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;Does anyone know why I'm getting this error? When I'm trying to update Percentage?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/104887i19AE7E9A6E088C7F/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;BR /&gt;Diane&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 07:39:31 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/why-am-i-getting-quot-manual-task-constraint-date-can-not-be/m-p/1045993#M35572</guid>
      <dc:creator>dianemiro</dc:creator>
      <dc:date>2020-09-17T07:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "Manual task constraint date can not be updated" error when I try to update tasks from Planning Console?</title>
      <link>https://www.servicenow.com/community/spm-forum/why-am-i-getting-quot-manual-task-constraint-date-can-not-be/m-p/1045994#M35573</link>
      <description>&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;Hi Diane, &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;What's the constraint type&amp;nbsp;across each of those tasks and sub-tasks? (you may be able to find this in the same console page, see the image below).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/104889i0F65F2CA47CB8ED5/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;I think you're trying to&amp;nbsp;modify a project that has "Manual" in the calculation field. If this is the case, the OOTB PPM Standard application should disable the time constraint field when you create a task/sub-task. Wondering how it allowed you to update the time constraint, unless you modified some thing on the time constraint UI policy.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;Few things that might be of some help here:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;Do check the business rule - "&lt;STRONG&gt;ProjectWorkbenchPhaseValidationAndUpdate&lt;/STRONG&gt;" and check the below as well.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;function timeConstraintValid() { &lt;BR /&gt; if (current.calculation_type == "&lt;STRONG&gt;manual&lt;/STRONG&gt;" &amp;amp;&amp;amp; (&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;&lt;STRONG&gt;current.time_constraint == "asap" ||current.time_constraint == "snlt" || current.time_constraint == "snet"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;)) {&lt;BR /&gt; current.setAbortAction(true);&lt;BR /&gt; gs.addErrorMessage(gs.getMessage('&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Manual task time constraint can not be updated&lt;/STRONG&gt;&lt;/SPAN&gt;'));&lt;BR /&gt; return false;&lt;BR /&gt; }&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;Let me know how it goes.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 14:43:27 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/why-am-i-getting-quot-manual-task-constraint-date-can-not-be/m-p/1045994#M35573</guid>
      <dc:creator>Chandru4</dc:creator>
      <dc:date>2020-09-17T14:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "Manual task constraint date can not be updated" error when I try to update tasks from Planning Console?</title>
      <link>https://www.servicenow.com/community/spm-forum/why-am-i-getting-quot-manual-task-constraint-date-can-not-be/m-p/1045995#M35574</link>
      <description>&lt;P&gt;Hi Chandra,&lt;/P&gt;
&lt;P&gt;Thank you for answering. This is the current BR we have. First part is:&lt;/P&gt;
&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;handleInsertUpdate();

function handleInsertUpdate() {
	
	if (current.top_task.calculation_type == "manual" &amp;amp;&amp;amp; !endDateValid()) 
		return false;
	
	if (current.operation() == "insert" ) {
		if (!calculationTypeValidOnInsert()) 
			return false;
		if(!parentPhaseTypeValidOnInsert())
			return false;
		if (current.top_task.calculation_type == "manual") {
			current.calculation_type = "manual";
			current.time_constraint = "start_on";
		}
	} else if (current.operation() == "update") {
		if (current.calculation_type.changes() &amp;amp;&amp;amp; !calculationTypeValidOnUpdate())
			return false;
		if (current.time_constraint.changes() &amp;amp;&amp;amp; !timeConstraintValid())
			return false;
		if(this._onlyConstraintDateChanged(current) &amp;amp;&amp;amp; !constraintDateValid())
			return false;
	}
}

//This is the funtion that displays the message

function constraintDateValid() {
	if(current.calculation_type == "manual") {
		current.setAbortAction(true);
		gs.addErrorMessage(gs.getMessage('Manual task constraint date can not be updated'));
		return false;
	}
	return true;
}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you explain to me what this means?&lt;/P&gt;
&lt;P&gt;Thank you,&lt;BR /&gt;Diane&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 06:00:58 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/why-am-i-getting-quot-manual-task-constraint-date-can-not-be/m-p/1045995#M35574</guid>
      <dc:creator>dianemiro</dc:creator>
      <dc:date>2020-09-25T06:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "Manual task constraint date can not be updated" error when I try to update tasks from Planning Console?</title>
      <link>https://www.servicenow.com/community/spm-forum/why-am-i-getting-quot-manual-task-constraint-date-can-not-be/m-p/1045996#M35575</link>
      <description>&lt;P&gt;Hi Diane,&lt;/P&gt;
&lt;P&gt;Check if these links help.&lt;/P&gt;
&lt;P&gt;https://docs.servicenow.com/bundle/paris-it-business-management/page/product/project-management/concept/c_TaskDependencies.html&lt;/P&gt;
&lt;P&gt;https://docs.servicenow.com/bundle/paris-it-business-management/page/product/project-management/concept/scheduling-conflicts.html&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 15:08:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/why-am-i-getting-quot-manual-task-constraint-date-can-not-be/m-p/1045996#M35575</guid>
      <dc:creator>Chandru4</dc:creator>
      <dc:date>2020-09-25T15:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "Manual task constraint date can not be updated" error when I try to update tasks from Planning Console?</title>
      <link>https://www.servicenow.com/community/spm-forum/why-am-i-getting-quot-manual-task-constraint-date-can-not-be/m-p/1045997#M35576</link>
      <description>&lt;P&gt;Hi Chandru,&lt;/P&gt;
&lt;P&gt;I still can't find out what's causing the error. Can you help me further?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Diane&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 15:34:46 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/why-am-i-getting-quot-manual-task-constraint-date-can-not-be/m-p/1045997#M35576</guid>
      <dc:creator>dianemiro</dc:creator>
      <dc:date>2020-09-30T15:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "Manual task constraint date can not be updated" error when I try to update tasks from Planning Console?</title>
      <link>https://www.servicenow.com/community/spm-forum/why-am-i-getting-quot-manual-task-constraint-date-can-not-be/m-p/1045998#M35577</link>
      <description>&lt;P class="p1"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi Diane,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;I did a quick check and the way it works is that.&lt;/P&gt;
&lt;OL class="ol1"&gt;&lt;LI class="li1"&gt;&lt;SPAN style="font-size: 10pt;"&gt;When you make an edit to the percentage complete, the default functionality could make a change to the “planned start date” depending on how the tasks and child tasks are created.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI class="li1"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Now when this happens, either this “planned start date” is conflicting with the “constraint date” or the “constraint date” is being updated for the given project. I need to confirm on this.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class="p1"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Can you help me with the following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL class="ol1"&gt;&lt;LI class="li1"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Can you show all the time constraints, constraint date for the given project &amp;amp; tasks?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI class="li1"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;And how did you create this project? (I understand that the calculation type is manual, but wondering how did you go about creating this e.g. did you change from Automatic to Manual?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI class="li1"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Did you make edits to the default UI policies for the given form?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class="p1"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Note: The business rule “ProjectWorkbenchPhaseValidationAndUpdate” is a standalone one and it throws the given error only when the “constraint date” is changed and the calculation type is “manual”. This I believe we know it already know - Just a FYI.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Let me know. Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 13:13:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/why-am-i-getting-quot-manual-task-constraint-date-can-not-be/m-p/1045998#M35577</guid>
      <dc:creator>Chandru4</dc:creator>
      <dc:date>2020-10-01T13:13:02Z</dc:date>
    </item>
  </channel>
</rss>

