Remvalue

删除之前使用 Putvalue action 存储的某个特定列表值。

Supported Script Types

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.

通用

电子邮件 聊天 电话 语音信箱 工作项目 短信 数字

Comparison of Similar Actions

此操作属于在数据库表中存储和检索数据的若干操作之一,目的是使其他脚本可以访问这些数据;其运行方式如同字段或值的列表一样。使用它们来存储多个值或在其他脚本中进一步需要的值。包括此操作在内的完整操作列表为:Putvalue, Getvalue, Remvalue, Getlist, and Clearlist.

这些操作使用唯一的数据类型,而这种数据仅能通过此组 Studio 操作来访问。无法以任何其他方式来访问数据。无论用户拥有何种权限,他们都无法访问并使用此数据库。

如同在 Putvalue 操作的 TTL hrs 属性中所配置的,这些值在限制了时间的数据集表格中列出。默认值为 24 小时,但可以设为 1 小时到 168 小时(7 天)。您可以使用 Remvalue 操作删除 TTL 时间之前的数据。这样您就可以完全控制脚本中的数据。

注意:

  • 如果其他脚本或联系人需要访问多个变量,数据库通常是最好的解决方案。
  • 在设置这些变量的脚本的整个生命周期中,其他脚本或联系人可以共享非持久性公共变量。变量会在释放后自动清除。

Input Properties

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

属性

说明

说明文字

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

Scope

选择此操作处理的值对其他联系人可见的级别。只有共享相同可见性范围的联系人才能够访问相同的数据。选项包括:

选择的Scope必须与脚本中包含的所有其他列表操作中设置的Scope相匹配。列表操作为 Putvalue, Getvalue, Remvalue, Getlist, and Clearlist. 如果 Scope 设置不匹配,即使列表的 Name 相同,也无法识别。

Name

用于标识值。可以是任何名称或数字。名称不区分大小写。使用 Getvalue检索值时,Name 必须相同。如果 Name 属性不匹配,即使 Scope 设置相同,它们也无法相互识别。

Value

即将从列表中移除的值或数据。

Occurrence

选择一个选项来定义在Value有多个实例的情况下要移除哪个出现的Value

  • First
  • Last
  • All

当存储了多个具有相同名称的值时,它们将构成一个列表。要从列表末尾删除,将Occurrence设置为Last。要从列表开始删除,将Occurrence设置为First

结果分支条件

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

条件

说明

Default

除了脚本满足条件要求其接受其他分支的情况之外,所要采用的路径。如果未定义操作的其他分支,也会执行此操作。
NotFound 当呼叫抑制表格中未找到某个数据值并因此应发出呼叫时采用的路径。