Views:

Description

Adds \ moves an item to a Queue. Returns the queue item ID.

Signature

AddToQueue(
  'recordid', 
  'entityname',
  'destinationqueueid',
  'sourcequeueid'
)

Example 1

Puts an email record into a queue.

AddToQueue(
  '30dd379c-ee2f-11db-8314-0800200c9a55', 
  'email', 
  '99dd379c-332f-33db-4414-5555200c9a55'
)

Example 2

Moves an email record from source to destination queue.

AddToQueue(
  '30dd379c-ee2f-11db-8314-0800200c9a55', 
  'email', 
  '99dd379c-332f-33db-4414-5555200c9a55', 
  '88yy379c-332f-33db-4414-5555200c9a55'
)

Parameters

Name Type Description Required
recordid xxxx xxxx xxxx
entityname xxxx xxxx xxxx
destinationqueueid xxxx xxxx xxxx
sourcequeueid xxxx xxxx xxxx