Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

Approval - Assign Queue(s)

  • Last UpdatedJun 10, 2024
  • 2 minute read

Assign Queue(s) Property Window

You can select the queues to which the approval work item is to be sent in this property window. To open this window, click the button for the 'Assign Queue(s)' property.

The window has a pair of list boxes to specify the queue(s). The Available Queues list shows all the available queues. You can select the required queue(s) from this list box. The Selected Queues list shows all the selected queues to which the activity will be assigned.

You can use the following buttons located between the list boxes to move the queues to and from the list boxes.

  • [>>] - You can click this button to add all the queues in the Available Queues list to the Selected Queues list.

  • [>] - You can click this button to add the selected queue(s) to the Selected Queues list.

  • [<] - You can click this button to add the selected queue(s) from the Selected Queues list to the Available Queues list.

  • [<<] - You can click this button to add all the queues in the Selected Queues list to the Available Queues list.

At the bottom of the window you will find the following buttons:

  • Assign - You can click this button to assign the activity to the selected queues.

  • Close - You can click this button to close this window.

Assigning queue system variable

To assign queues instead of setting the queue through Assign Queue property, add a variable with a name prefixed by '^', with the following syntax:

 "^"+ CurrentActivity.Name + "_QueueVariable".

For example, if the activity name is 'Approval1' then declare the variable as ^Approval1_QueueVariable in the Start activity with the Type as String. Using the "Update Variable" activity, assign the queue-id (GUID) for this variable in the workflow.

To assign multiple queues, specify the queue-ids with semicolon (;) separator. Skelta.HWS.Queue.QueueCollection class can be used to retrieve queue information.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in