OnUnassignment

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

A rectangle with a curvy line and an X in it.

Starts a new branch when a contact is unassigned from a live (human) agent but the interaction hasn't ended yet.

Dependencies

  • This action requires Digital Experience.
  • Before working with digital scripts, learn about the differences between traditional ACD scripts and digital scripts.
  • This action only triggers when a contact is delivered to a live agent. If you want it to also trigger when a contact is delivered to a virtual agent, include the global:__isTriggerBotAssignmentEvents variable in the script and set it to 1. You can include the variable using either an ASSIGN or a SNIPPET action
  • If you want this action to trigger on delivery to virtual and live agents in all of your scripts, contact your CXone Account Representative. They can enable this behavior as the default in your CXone system. When you have this behavior enabled, you can override it on a script-by-script basis by including the global:__isTriggerBotAssignmentEvents variable in the script and setting it to 0.
  • OnUNassignment is an event action.
  • This action is intended for use with human agents only. It's not intended for use with virtual agents.

Supported Script Types

The icon for the Digital script type - a computer monitor with a smartphone next to it.

Digital

Input Properties

These properties define data that the action uses when executing.

You can use variable substitution in all of the properties of this action.

Property

Description

Add Caption

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

PriorAgentID

The agent ID of the last agent who handled the contact, if this is a transfer.

PriorAgentFirstName

The first name of the last agent who handled the contact, if this is a transfer.

PriorAgentLastName

The last name of the last agent who handled the contact, if this is a transfer.

PriorUserID

The CXone employee ID of the prior agent who handled the contact, if this is a transfer.

SkillID

The ID of the ACD digital skillClosed Used to automate delivery of interactions based on agent skills, abilities, and knowledge currently assigned to the contact.

SkillName

The name of the ACD digital skill currently assigned to the contact.

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.