SORT

此帮助页面适用于 Studio。 此信息也适用于 Desktop Studio。

一个带有两个指向相反方向的尖角符号 < > 的矩形。

按字母、数字、升序或降序对由默认竖线分隔符 (|) 分隔的数组元素重新排序。

支持的脚本类型

其中一条分支线通向其他三个正方形的正方形。

Icon of gray-green envelope

深绿色对话气泡图标

Icon of purple telephone handset

Icon of rust-colored voicemail symbol of two circles joined by a line

Icon of pink document with lines of text

绿色手机图标,屏幕上有一个语音气泡

Icon of purple computer monitor with a mobile device overlapping its lower right corner

通用

Email 聊天 电话 語音邮件 工作项目 短信 Digital

输入属性

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

属性

说明

添加说明文字

输入在脚本中唯一标识此操作的短语。 标题显示在脚本画布上的操作图标下方。

字符串

包含由分隔符分隔的多个字段的字符串。

分隔符

分隔字符串中每个字段的字符。

结果变量

The variable name that is created and holds returned information. For example, if the contact enters their account number as 123456, then the variable holds 123456.
列 要排序的每个元素中的字符索引。 第一个字符是 1。
次序 确定排序顺序是升序还是降序。 升序将从 A 到 Z 或从 0 到 9 地对列表排序。

比较为

用于选择文本或数字的下拉列表。

结果分支条件

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

条件

说明

默认

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.

提示和技巧

在多维数组中对文本进行排序时,任何列位置都可以用作排序条件中的第一个字符。