UiPath Documentation
activities
latest
false
传统“集成”活动
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

获取文件夹项目

用于检索存储在 Box 中指定文件夹中的文件夹和文件的活动

UiPath.Box.Activities.Folder.GetFolderItems

“获取文件夹项目”活动使用 Box列表文件夹中的项目API 检索存储在指定文件夹( “文件夹 ID ”)中的文件夹和文件。

After retrieving the items, the activity outputs the file details in an BoxFile[] object (Files) and the folder details in an BoxFolder[] object (Folders).

工作方式​

以下步骤和消息序列图是活动从设计时(即活动依赖项和输入/输出属性)到运行时如何工作的示例。

  1. 完成设置步骤。
  2. 将“Box 作用域”活动添加到项目中。
  3. 添加活动或运行输出Folder.Id值的外部流程(例如,创建文件夹、搜索内容等)。
  4. Add the Get Folder Items activity inside the Box Scope activity.
  5. 为“输入”属性输入一个值。
  6. 为“输出”属性创建并输入BoxFile[]和BoxFolder[]变量。
    • 您的输入属性值在“列出文件夹中的项目”API 操作请求中发送。

    • 此操作会将 BoxFiles[] 和 BoxFolders[] 值返回到您的输出属性变量。

属性​

常见​

  • ContinueOnError - Specifies if you want the activity to continue running when an error is thrown. This field supports only Boolean values.
  • “显示名称”- 活动的显示名称。此字段仅支持 Strings 或 String 变量。

输入​

  • 文件夹 ID - 要从中检索信息的文件夹的 ID。此字段仅支持Strings或String变量。要获取文件夹 ID值,请添加活动或运行输出File.Id对象的外部流程(例如,创建文件夹、搜索内容等)。

其他​

  • “私有”- 选中后将不再以“Verbose”级别记录变量和参数的值。

选项​

  • Max Items to Return - The maximum number of results that you want returned. Enter an Int32 or Int32 variable. The maximum number of items that get returned is 1,000.

输出​

  • Files - The IEnumerable<BoxFiles> object that includes the file items. Enter a BoxFiles[] variable.
  • Folders - The IEnumerable<BoxFolder> object that includes the folder items. Enter a BoxFolder[] variable.
  • 工作方式​
  • 属性​
  • 常见​
  • 输入​
  • 其他​
  • 选项​
  • 输出​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新