Entity created from action won't update RRS feed

  • Question

  • 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";                

    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?



    • Changed type Adam Borsik Monday, October 28, 2013 3:00 PM
    Monday, October 28, 2013 2:32 PM