【问题标题】:Unable to cancel task无法取消任务
【发布时间】:2018-05-22 07:00:33
【问题描述】:

问题:取消统一接口上的任务时超时

工具Dynamics 365 CRM,版本 1612 (9.0.2.192) (DB 9.0.2.192) 在线

问题:我们在约会表单上有一个字段,其值为 trueFalse。在保存时我们检查该值是否为真,然后打开一个新任务窗口并设置一个查找(我们创建了这个查找),如下所示,

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 && console.error) console.log(success);
},

function (error) {
if (window.console && console.error) console.log(error);
});

我们保存一个任务记录,同步工作流将创建一个连接记录(我们使用连接实体将此记录与约会相关联)。连接记录包含

连接到:约会

连接来自:任务

我们单击 Close Task as Canceled 并在移动设备上遇到问题(它在浏览器中运行良好)。我们正在使用基于 UCI 的应用在移动设备中使用 CRM。

错误:

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

它正在完成但没有取消。

编辑:如果我取消约会记录,我将能够取消任务。

需要帮助!

【问题讨论】:

  • 与 MS 创建一张票,我们正在与他们合作处理这样的多张票。大多数已知问题和修复将在下一个版本中进行..

标签: dynamics-crm dynamics-crm-online dynamics-crm-365-v9 dynamics-crm-uci


【解决方案1】:

我们使用表单参数来设置任务查找,我们删除了表单参数并以另一种方式进行。它奏效了。问题不再存在!

【讨论】:

  • 另一种方式?请分享更多细节,这将有助于其他人。
  • 我写了 javascript - 它只存在于问题中。之前我们使用 Xrm.Utility.openEntityForm("contact", null, parameters);。现在我们正在使用与 UCI 兼容的 Xrm.Navigation.openForm。并从表单属性中删除了参数。
猜你喜欢
  • 2021-12-11
  • 2014-08-24
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2018-11-15
相关资源
最近更新 更多