Messages

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

将消息传递到一个或多个使用坐席界面的坐席。消息只能包含文本。不支持链接和图片。Messages 通常在坐席应答联系时用于向单个坐席发送消息。

支持的脚本类型

The icon for a Generic script type - a rectangle with < and > symbols inside it.

The icon for the Email script type - a large @ symbol in a diamond.

The icon for the Chat script type - a chat bubble with an ellipsis inside (...), in a diamond shape.

The icon for the Phone script type - an old-style phone handset with curved lines indicating sound coming out of it.

The icon for the Voicemail script type - a symbol that looks like a cassette tape - two circles sitting on a horizontal line.

The icon for the Work Item script type-a piece of paper with one corner folded down and a bullet list on it.

The icon for the SMS script type - a smart phone with a chat bubble coming out of it.

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

通用

Email 聊天 电话 语音信箱 工作项目 短信 数字

输入属性

这些属性定义操作在执行时使用的数据。

属性

说明

Caption

输入在脚本中唯一标识此操作的短语。标题显示在脚本画布上的操作图标下方。The default is the action name.

TargetType 从下拉列表中选择接收者类型:AgentTeamStationSkillEveryone
TargetIDs 目标的 ID,如坐席 ID 或技能 ID。 如果 Target TypeEveryone,则不使用此选项。如果将 Target Type 设置为任何其他选项,则此字段为必填项。要向已应答呼叫的坐席发送消息,请使用 {agentId} 变量。
MessageText 执行此操作时发送到所选目标的文本。您可以使用此字段中的变量。
DurationMin

您希望弹出消息显示的时间(以分钟为单位)。如果值为 0 或此属性为空,则消息显示时间为五秒钟,这是默认值。之后,它就会出现在坐席的消息收件箱中。

为了确定消息在邮件收件箱中保留的时间,MAXDurationMinExpireDateTime 结合起来。有四种可能的组合:

  1. DurationMin = null 和 ExpireDateTime > now

    该消息将保留在 MAX 消息收件箱中,直至 ExpireDateTime

  2. DurationMin > 0 和 ExpireDateTime > now

    该邮件将保留在MAX邮件收件箱中,直至 ExpireDateTime + DurationMin

  3. DurationMin = null 和 ExpireDateTime = null

    该消息将在 MAX 消息框中显示五秒钟。

  4. DurationMin > 0 和 ExpireDateTime = null

    该消息保留在 DurationMinMAX 消息收件箱中。

Persistent 未使用。
ExpireDateTime 确定消息从消息收件箱中消失的日期和时间。对于 MAX,请此值将添加到 DurationMin 以确定邮件在收件箱中保留的时间。

结果分支条件

结果分支条件允许您在脚本中创建分支,以在执行操作时处理不同的结果。

条件

说明

Default

除了脚本满足条件要求其接受其他分支的情况之外,所要采用的路径。如果未定义操作的其他分支,也会执行此操作。

OnError

操作无法正确执行时所采用的路径。例如,出现连接不良、语法错误等意外问题时。_ERR 变量以单个下划线字符填充,应包含对问题的简要解释。

文本格式设置

您可以设置消息文本的格式,以强调或自定义某些词语或短语。文本的格式设置与 HTML 代码类似。要更改某段文本的颜色、字样(字体)或大小,使用 FONT 标签将文本括起来,并添加属性到此标签。字体标签中的每个属性必须用一个空格分开。请勿在属性名称或值之间输入空格 — 例如,<FONT color=red> 正确,但 <FONT color= red> 错误。下表中列出了所有的格式设置选项。

格式设置:

Beowulf,<b>great</b> hero of the <FONT face=times size=+1> Geats</FONT>, I beg you to display your 
prowess by defending my hall,<FONT face=times>Heorot</FONT>, From the monster <FONT color=red
size=+2><i>Grendel</i></FONT>!

输出:
Beowulf, great hero of the Geats, I beg you to display your prowess by defending my hall, Heorot, from the monster Grendel!


设置文本格式时的其他选项:

  • 可嵌入字体属性:<FONT face=times>And thus, Beowulf slayed <FONT color=red size=+2>Grendel</FONT> and his monster mother.</FONT>颜色和大小属性没有干扰字样属性。
  • 可以在单个标签中指定多个字体属性:All hail, Beowulf, <FONT size=+2 color=$000080 face=times>king of the Geats</FONT>!一个标签中包含大小、字样和颜色属性。
  • 在字体标签之外添加粗体和斜体格式更改;例如: <FONT color=$FFD700><b>Beowulf</b></FONT> 将生成“Beowulf”。

下表中显示 坐席 应用程序中可能的文本格式设置属性和它们的可用性:

属性

说明

color={colorvalue}

颜色属性可包含以下值:
水绿色黑色蓝色
dkgray
(深灰色)
紫红色灰色
绿色柠檬色ltgray(浅灰色)
褐紫红色海军蓝色橄榄色
紫色红色音色
青色白色黄色
{decimal color}
(例如,
scolor=10990679

${hexcolor}
(例如,color=$31B94D

 

size=[+/-]{pointsize}

磅值为相对值或绝对值; -9 为正常值。例如,size=+2

face={fontname}

字样属性可包含以下字体类型:
arialtimes(或 times new roman)courier
verdanaimpactgeorgia
garamondsystemtahoma

<b>

Html 粗体样式。

<i>

Html 斜体样式。

<br> 创建换行。