Hi Everyone,
I tried writing a simple code to utilize Actions in CRM 2013. The following code is registered on post-execute phase of a custom action:
EntityReference ent = localContext.PluginExecutionContext.OutputParameters["TaskEntity"] as EntityReference;
Entity task = service.Retrieve("task", ent.Id, new Microsoft.Xrm.Sdk.Query.ColumnSet(true));
task["description"] = "test description";
service.Update(feladat);
The custom action creates a task from an e-mail, then sets its entityreferece output parameter to the created task. The post plugin only adds description to the task (I know, I could have done this from the Action, it is just for testing purposes).
I am getting the reference and the task correctly, but it is not getting updated with the given description.
Any ideas what might cause the problem?
Regards,
Adam