QUEUE PERSISTENT WI

This help page is for Desktop Studio. This information is also available for Studio.

Three dots stacked vertically with an arrow pointing at a piece of paper.

Generates new persistent work itemClosed Customizable method of delivering contacts to an agent via Studio scripts. contacts from an external system, typically for routing to an agent.

Use this action in monitoring scripts that query the external system for work items. Monitoring scripts work in conjunction with work item routing scripts that queue up the work items for agents. Work item routing scripts have the OnAnswer event that can process any needed marquees or screen popsClosed A pop-up window with information about the contact that appears on an agent's screen after an event such as connecting to a contact. of the data.

Dependencies

Supported Script Types

Chat Phone Work Item

Comparison of Similar Actions

  • QUEUE WORK ITEM: Use this action for real-time work items.
  • QUEUE PERSISTENT WORK ITEM: Use this action for persistent work items.

Input Properties

These properties define data that the action uses when executing.

Property

Description

Caption

Enter a short phrase that uniquely identifies this action in the script. The caption appears on the script canvas under the action icon. The default is the action name.

WorkItem ID

Work Item ID

A user-defined unique ID for this work item.

WorkItem Payload

Work Item Payload

User-defined field for passing payload-specific information to a work item contact. If you want to pass JSON as a string in this property, you must first escape any JSON-specific characters. The API services cannot properly parse the content, therefore this field would be empty without first escaping the necessary characters. Also, this field would contain <WorkItemPayload i:nil="true"> in the trace after firing in the script if you have not escaped the necessary characters.

WorkItem Type

Work Item Type

Defines a type for the work item.
From User-defined description of the work item origin.

PointOfContact

Point Of Contact

Select an existing point of contact from a drop-down. This is the point of contact that handles this work item.

newContact ID Var

Contact ID (Out)

Tracks the new contact ID of the work item that gets spawned.

Result Branch Conditions

Result branch conditions allow you to create branches in your script to handle different outcomes when an action executes.

Condition

Description

Default

Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the action's other branches are not defined.

Path taken if the action completes without errors and any API calls or data returns were successful (2xx response codes).

The path taken when the security user identified

The path taken when the specified point of contact is not valid.

The path taken when the system does not have available ports.

The path taken when the system experiences an error.

The path taken the specified parameter's value is over the size limit.