LIST

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

Icon of List: light blue list of two folders

文件服务器检索目录列表。

依赖关系

该文件将从媒体服务器复制到文件服务器。 文件越大,您等待文件的时间就越长。 为避免出现问题,请使用Wait 操作,让脚本有几秒钟的时间来查找并转移文件。

支持的脚本类型

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

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

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

通用

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

输入属性

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

属性

说明

添加说明文字

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

文件路径 待列出的文件路径和文件模式。 其支持变量和通配符。 星号 (*) 在该位置匹配零个或多个任意字符。问号 (?) 匹配该位置的任意一个字符。 默认情况下,*.*。 例如,MailLog\*.eml 会返回 MailLog 文件夹中的所有 EML 文档。
结果变量 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.
计数 Var The name of the variable to contain the number of files listed. By default, COUNT.

结果分支条件

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

条件

说明

默认

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.

Error

Path taken when the action fails to execute properly. For example, when there is an unexpected problem such as poor connectivity, syntax errors, and so on. The _ERR variable, with a single underscore character, should be populated with a condensed explanation of the problem.