Freigeben über


CrmServiceClient.AddEntityToQueue Method

Definition

This will route a Entity to a public queue,

public bool AddEntityToQueue (Guid entityId, string entityName, string queueName, Guid workingUserId, bool setWorkingByUser = false, Guid batchId = default);
member this.AddEntityToQueue : Guid * string * string * Guid * bool * Guid -> bool
Public Function AddEntityToQueue (entityId As Guid, entityName As String, queueName As String, workingUserId As Guid, Optional setWorkingByUser As Boolean = false, Optional batchId As Guid = Nothing) As Boolean

Parameters

entityId
Guid

ID of the Entity to route

entityName
String

Name of the Entity that the Id describes

queueName
String

Name of the Queue to Route Too

workingUserId
Guid

ID of the user id to set as the working system user

setWorkingByUser
Boolean

if true Set the worked by when doing the assign

batchId
Guid

Optional: if set to a valid GUID, generated by the Create Batch Request Method, will assigned the request to the batch for later execution, on fail, runs the request immediately

Returns

true on success

Applies to