PickWorkItem

The PickWorkItem component enables the user to pick the work item from the queue as per priority. Before using the PickWorkItem component, user must establish a connection to the Orchestrator using the SetConfig component.

Screenshot

Screenshot

Screenshot

Ports

The PickWorkItem component exposes the Control In, Control Out, Data In and Data Out ports by default.

Port Description
Control In Must be connected to the Control Out port of one or more components.
Control Out Must be connected to the Control In port of any other component.
Data Out The PickWorkItem component exposes the following Data Outputs:

WorkItemId: Return the WorkItemId of the queueitem of the particular queue.

Content: Return the content against the selected queueitem.

Properties

For PickWorkItem component - User can edit the following properties, in the properties window.

Property Description
Delay After Execution Specifies the wait time (in seconds) after the action is executed.
Delay Before Execution Specifies the wait time (in seconds) before the action is executed.
Enable Timeout Allows users to enable timeout for the component
Timeout Allows users to define a timeout for the component

Note

To search for a specific property user can use the filter available in the properties window.

Example

Let us consider an example of the PickWorkItem component.

Screenshot

To pick the queueitem from the queue:

  1. In the Toolbox, expand Orchestrator and then expand Common.

  2. Drag the SetConfig component and drop it on the Design surface.

  3. In the Toolbox, expand Orchestrator and then expand QUEUES.

  4. Drag the SetQueueName component and drop it on the Design surface.

  5. Drag the PickWorkItem component and drop it on the Design surface.

  6. Enter the URL, RoboID and ProcessID inside the SetConfig component and QueueName inside the SetQueueName component.

    Note

    1. User can pick the workitem(s) of the queue by applying filter(s) on PICK ITEM CONFIGURATION pop up, and select checkboxes (Name. Type or Progress) as per requirement, which will reflect as output of (Name, Type or Progress) Data Out port.
    2. By using PickWorkItem component, user can get the value of added JSON property(ies) under JSON PROPERTIES tab of PICK ITEM CONFIGURATION pop up.
  7. Connect all the control ports in the activity.

  8. In the toolbar, click Run.