title: Unable to cancel task
body: <h2>Issue: Timeout while canceling Task on Unified Interface</h2>
  
  <p><strong>Tool</strong>: <strong>Dynamics 365 CRM, Version 1612 (9.0.2.192) (DB 9.0.2.192) online</strong></p>
  
  <p><strong>Problem</strong>: We have a field on appointment form, has the value <em>true</em> and <em>False</em>. While saving we check if the value is true then, opens a New task window and we set a lookup(we created this lookup) like below,</p>
  
  <pre><code>var entityFormOptions = {};
  entityFormOptions["entityName"] = "task";
  
  
  formParameters["cmd_associatedmeeting"] = formContext.data.entity.getId().replace('{', '').replace('}', '');
  
  formParameters["subject"] = "Created From " + getEntityType(ExecutionContext) + ": " + formContext.getAttribute(formElements_meeting.subject).getValue();
  // Open the form.
  Xrm.Navigation.openForm(entityFormOptions, formParameters).then(
  
  function (success) {
  if (window.console &amp;&amp; console.error) console.log(success);
  },
  
  function (error) {
  if (window.console &amp;&amp; console.error) console.log(error);
  });
  </code></pre>
  
  <p>We save a task record and synchronous workflow will create a Connection Record(We are using Connection entity to associate this record with appointment). Connection record contains </p>
  
  <p>Connect To: Appointment</p>
  
  <p>Connection From: Task</p>
  
  <p>We click Close Task as Cancelled and we get an issue on Mobile (It works well in the browser). We are using UCI based app to use CRM in Mobile.</p>
  
  <p>Error:</p>
  
  <pre><code>Operation timed out. 
  Key = [subject,cmd_iscloned,statuscode,description,regardingobjectid,cmd_associatedevent,cmd_associatedmeeting,statecode,ownerid,modifiedby,param_actGuid,statecode]; 
  ContextString = Key: a7edbe81-875d-e811-a959-000d3a1c5096; 
  ColumnSet: [subject,cmd_iscloned,statuscode,description,regardingobjectid,cmd_associatedevent,cmd_associatedmeeting,statecode,ownerid,modifiedby,param_actGuid,statecode]; RetrievalStrategy: remote
  </code></pre>
  
  <p>it is getting completed but not canceled.</p>
  
  <p>EDIT: If I cancel the Appointment record, I will be able to cancel the task.</p>
  
  <p>Require help!</p>