CrmServiceClient.AddEntityToQueue Method (Guid, String, String, Guid, Boolean, Guid)
Dynamics CRM 2016
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Route an entity to a public queue.
Assembly: Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)
public bool AddEntityToQueue( Guid entityId, string entityName, string queueName, Guid workingUserId, bool setWorkingByUser = false, Guid batchId = null )
Parameters
- entityId
-
Type:
System.Guid
ID of the entity to route.
- entityName
-
Type:
System.String
Name of the entity for the specified ID.
- queueName
-
Type:
System.String
Name of the queue to route the entity to.
- workingUserId
-
Type:
System.Guid
ID of the user to set as the working system user.
- setWorkingByUser
-
Type:
System.Boolean
if true Set the worked by when doing the assign
- batchId
-
Type:
System.Guid
Optional. If set to a valid GUID (generated by CreateBatchOperationRequest), will assign the request to the batch for later execution. Otherwise, runs the request immediately.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright
Community Additions
ADD
Show: