Currently in Dynamics CRM 2015 I have a plugin invoking an action using the following snippet
OrganizationRequest request = new OrganizationRequest("new_testaction");
request["Message"] = message;
request["MessageType"] = messageType.ToString();
request["TimeStamp"] = DateTime.Now;
// execute the request
service.Execute(request);
I don't really care when this execution completes and don't need a response. I'm just trying to log some information and would prefer it to be done asynchronously.
I came across the 'ExecuteAsyncRequest' type but am not sure if this can be used for invoking actions. The documentation states that it can only be used for ImportSolutionRequest requests. Is there another way I can invoke an action asynchronously from a plugin in CRM 2015?
*This post is locked for comments
I have the same question (0)