- 概述
- 应用程序事件
- 流程图生成器
- 标注
- 复杂场景
- 凭据
- Data Service
- 表单
- FTP
- IPC
- Automation Ops 管道
- 暂留
- 系统
- 发行说明
- 项目兼容性
- 受支持的字符编码
- “正则表达式构建器”向导
- 添加数据列
- 添加数据行
- 添加日志字段
- 加减日期
- 添加事务项目
- 添加队列项目
- 将项目附加至集合
- 将项目附加至列表
- 附加行
- 提示音
- 中断/退出循环
- 浏览文件
- 浏览文件夹
- 构建集合
- 构建数据表
- 批量添加队列项目
- 更改文本大小写
- 更改类型
- 检查 False
- 检查 True
- 清除数据表
- 从集合到数据表
- 注释
- 压缩文件/Zip 文件
- 复制文件
- 复制文件夹
- 合并文本
- 注释掉/禁用的活动
- 继续/跳过当前
- 创建文件
- 创建文件夹
- 创建列表
- 自定义输入
- 删除
- 删除文件
- 删除文件夹
- 删除存储文件
- 删除队列项目
- 禁用本地触发器
- Do While 循环
- 从 URL 下载文件
- 下载存储文件
- 启用本地触发器
- 评估业务规则
- 存在于集合中
- 提取/解压缩文件
- 从文本中提取日期和时间
- 提取文本
- 文件更改触发器
- 文件已存在
- 筛选集合
- 筛选数据表
- 文件夹存在
- 遍历循环
- 适用于文件夹中的每个文件
- 文件更改触发器 v3
- 查找和替换
- 查找匹配模式
- 对于文件夹中的每个文件夹
- 对于数据表中的每一行
- 将日期格式设置为文本
- 为值添加格式
- 从文本中生成数据表
- 获取资产
- 获取凭据/获取 Orchestrator 凭据
- 获取当前作业信息
- 获取环境文件夹
- 获取环境变量
- 获取文件信息
- 获取文件夹信息
- 获取作业
- 获取进程
- 获取行项目
- 获取密码
- 获取事务项目
- 获取用户名/密码
- 获取队列项目
- 全局变量更改触发器
- 输入对话框
- 调用代码
- 调用 COM 方法
- 调用 PowerShell
- 调用流程
- 调用 VBScript
- 调用工作流文件
- 是否为文本匹配
- 联接数据表
- 终止进程
- 启动工作流交互
- 列出存储文件
- 日志消息
- 查找数据表
- 手动触发器
- 合并集合
- 合并数据表
- 消息框
- 修改日期
- 修改文本
- 移动文件
- 移动文件夹
- 多重分配
- 向队列新增项目
- 通知全局变量已更改
- Orchestrator HTTP 请求
- 输出数据表
- 并行
- 并行的遍历循环
- 存在路径
- 推迟事务项目
- 流程终止触发器
- 流程启动触发器
- 流程跟踪作用域
- 发出警示
- 读取列表项目
- 读取文本文件
- 读取存储文本
- 删除数据列
- 删除数据行
- 删除重复行
- 从集合中删除
- 删除日志字段
- 替换匹配模式
- 重复次数
- 重复触发器
- 重命名文件
- 重命名文件夹
- 报告状态
- 重置计时器
- 恢复计时器
- 重试作用域
- 返回
- 运行本地触发器
- 运行代理
- 运行作业
- 运行并行流程
- 设置资产
- 发送电子邮件通知
- 设置凭据
- 设置环境变量
- 设置密码
- 设置任务状态
- 设置追踪状态
- 设置事务进度
- 设置事务状态
- 应停止
- 拆分文本
- 数据表排序
- 启动计时器
- 开始作业
- 停止作业
- 停止本地触发器
- 停止计时器
- 左侧/右侧的文本
- 要大写/小写的文本
- 时间触发器
- 触发器作用域
- 跟踪对象
- 超时作用域
- 更新行项目
- 更新列表项目
- 上传存储文件
- 等待下载
- 等待队列项目
- 先条件循环
- 工作流占位符
- 写入存储文本
- 写入文本文件
- 添加数据行
- AddQueueItem
- 添加事务项目
- 附加行
- BulkAddQueueItems
- 清除数据表
- 压缩 Zip 文件
- 复制文件
- 创建文件
- 创建文件夹
- 删除文件或文件夹
- 删除队列项目
- 删除存储文件
- 下载存储文件
- 提取解压缩文件
- 筛选数据表
- 获取资产
- 获取凭据
- GetJobs
- 获取队列项目
- GetQueueItems
- 获取本地路径的资源
- 获取行项目
- 获取事务项目
- 调用流程
- 联接数据表
- 列出存储文件
- 查找数据表
- 合并数据表
- 移动文件
- Orchestrator HTTP 请求
- OutputDataTable
- 存在路径
- 推迟事务项目
- 读取存储文本
- 读取文本文件
- 删除数据列
- 删除重复行
- 替换
- 设置资产
- 设置凭据
- SetTransactionProgress
- 设置事务状态
- 数据表排序
- 开始作业
- 停止作业
- 更新行项目
- 上传存储文件
- 等待队列项目
- 写入存储文本
- 写入文本文件
- 测试
- 发行说明
- 关于“测试”活动包
- 项目兼容性
- 项目设置
- Address
- AddTestDataQueueItem
- AttachDocument
- BulkAddTestDataQueueItems
- DeleteTestDataQueueItems
- GetTestDataQueueItem
- GetTestDataQueueItems
- GivenName
- LastName
- RandomDate
- RandomNumber
- RandomString
- RandomValue
- VerifyAreEqual
- VerifyAreNotEqual
- VerifyContains
- VerifyExpression
- VerifyExpressionWithOperator
- VerifyIsGreater
- VerifyIsGreaterOrEqual
- VerifyIsLess
- VerifyIsLessOrEqual
- VerifyIsRegexMatch
- VerifyRange
- Workflow Foundation

工作流活动
分配任务
UiPath.Persistence.Activities.Tasks.AssignTasks
描述
使用在 Orchestrator 中注册的电子邮件地址或用户名,将当前工作流中的一个或多个任务分配给 Orchestrator 中的用户。
项目兼容性
Windows - 旧版 | Windows | 跨平台
先决条件
- 仅当组或组的所有成员至少都具有“操作”时,组分配才有效:分配给 Orchestrator 中的相应文件夹的“查看”和“编辑”权限。仅当组满足以下条件时,您才能为组中的用户分配操作:
- 遍历组中的所有用户:该组可以是本地组(本地组),也可以是 Azure Active Directory (AD) 组。AD 组中的嵌套成员也将分配到任务。
- 对于基于工作负载或基于轮询的分配:仅支持本地组。
基于工作负载和基于轮询的分配将仅考虑给定本地组的前 1000 个成员进行分配。
Windows - 旧版,Windows 配置
设计器面板
-
“分配条件” - 用于将操作分配给:
- 单个用户(仅适用于 StudioX 策略):将任务分配给特定用户。
- 组中的所有用户:将同一任务分配给组中的每个用户。用户完成任务后,系统会自动将其从所有其他用户的“待处理”选项卡中删除,并移至“已完成”选项卡中。
- “基于工作负载”:将任务分配给待处理任务最少的组成员,不包括分配给组中 “所有用户”的任务。
- 轮询:以轮换(轮询)顺序将任务分配给每个组成员。仅考虑使用此方法分配的任务。有关更多详细信息,请参阅组分配操作。
-
单个任务分配
- 任务 ID - 任务的 ID。
- 用户名或电子邮件- 要将此任务分配给的用户的用户名或电子邮件地址。
- 用户 ID - 要向其分配任务的用户的 ID。要检索用户 ID,…
- Task Assignment Type - The type of the assignment operation to be performed. By default, the Assign operation is set, and it can be changed to Reassign if you want to assign the same action to a different user.
- TaskUserAssignments - A list of task identifiers and corresponding user information to which an action is to be assigned/reassigned, stored in a
List<TaskUserAssignment>object. This field supportsList<TaskUserAssignment>objects only. The object must contain a task identifier and its corresponding user information, such as an email address or a username that is registered in Orchestrator. - FailedTaskAssignments - If any of the user assignment requests fail, a list is created, containing the task identifier, error message, and error code, as well as the email address or username that is registered in Orchestrator, in a
List<TaskAssignmentResponse>object in this property field. This field supportsList<TaskAssignmentResponse>objects only.
-
多任务分配
选择“启用多重分配” 。设计器面板中提供以下属性:
- 任务用户分配(输入) - 要向其分配/重新分配操作的任务标识符和相应用户信息的列表,存储在
List<TaskUserAssignment>对象中。此字段仅支持List<TaskUserAssignment>对象。该对象必须包含任务标识符及其相应的用户信息,例如在 Orchestrator 中注册的电子邮件地址或用户名。 - Task Assignment Type - The type of the assignment operation to be performed. By default, the Assign operation is set, and it can be changed to Reassign if you want to assign the same action to a different user.
- FailedTaskAssignments - If any of the user assignment requests fail, a list is created, containing the task identifier, error message, and error code, as well as the email address or username that is registered in Orchestrator, in a
List<TaskAssignmentResponse>object in this property field. This field supportsList<TaskAssignmentResponse>objects only.
- 任务用户分配(输入) - 要向其分配/重新分配操作的任务标识符和相应用户信息的列表,存储在
-
启用多重分配- 启用分配多个任务的选项。
-
任务 ID - 任务的 ID。
-
用户名或电子邮件- 要将此任务分配给的用户的用户名或电子邮件地址。
-
Task Assignment Type - The type of the assignment operation to be performed. By default, the Assign operation is set, and it can be changed to Reassign if you want to assign the same action to a different user.
-
FailedTaskAssignments - If any of the user assignment requests fail, a list is created, containing the task identifier, error message, and error code, as well as the email address or username that is registered in Orchestrator, in a
List<TaskAssignmentResponse>object in this property field. This field supportsList<TaskAssignmentResponse>objects only.
属性面板
输入
- “Orchestrator 文件夹路径” - 要用于此活动的 Orchestrator 文件夹的路径。如果留空,则使用当前的 Orchestrator 文件夹。此字段仅支持字符串和
String变量。
其他
-
“出错时继续”- 指定在活动引发错误时是否应继续自动化操作。该字段仅支持“布尔值”(True 和 False)。
默认值为
False。因此,如果该字段为空且活动引发错误,系统将停止执行项目。如果该值设为“True”,则无论出现何种错误,系统都将继续执行项目。如果在 Try Catch 异常处理活动中包含分配任务活动,并且出错时继续属性的值为 True,则系统在执行项目时不会捕获任何错误。
-
“超时 ” - 指定最长等待时间(以毫秒为单位),如果超出该时间活动未运行,就会引发错误。默认值为
30000毫秒(30 秒)。
跨平台配置
设计器面板
-
“分配条件” - 用于将操作分配给:
- 单个用户(仅适用于 StudioX 策略):将任务分配给特定用户。
- 组中的所有用户:将同一任务分配给组中的每个用户。用户完成任务后,系统会自动将其从所有其他用户的“待处理”选项卡中删除,并移至“已完成”选项卡中。
- “基于工作负载”:将任务分配给待处理任务最少的组成员,不包括分配给组中 “所有用户”的任务。
- 基于轮询: 按轮换(轮询)顺序将任务分配给每个组成员。仅考虑使用此方法分配的任务。有关更多详细信息,请参阅组分配操作。
-
单个任务分配
- 任务 ID - 任务的 ID。
- 用户名或电子邮件- 要将此任务分配给的用户的用户名或电子邮件地址。
- 用户 ID - 要向其分配任务的用户的 ID。要检索用户 ID,请使用
GET /odata/UsersOrchestrator API。 - Task Assignment Type - The type of the assignment operation to be performed. By default, the Assign operation is set, and it can be changed to Reassign if you want to assign the same action to a different user.
- TaskUserAssignments - A list of task identifiers and corresponding user information to which an action is to be assigned/reassigned, stored in a
List<TaskUserAssignment>object. This field supportsList<TaskUserAssignment>objects only. The object must contain a task identifier and its corresponding user information, such as an email address or a username that is registered in Orchestrator. - FailedTaskAssignments - If any of the user assignment requests fail, a list is created, containing the task identifier, error message, and error code, as well as the email address or username that is registered in Orchestrator, in a
List<TaskAssignmentResponse>object in this property field. This field supportsList<TaskAssignmentResponse>objects only.
-
多任务分配
选择“启用多重分配” 。设计器面板中提供以下属性:
- 任务用户分配(输入) - 要向其分配/重新分配操作的任务标识符和相应用户信息的列表,存储在
List<TaskUserAssignment>对象中。此字段仅支持List<TaskUserAssignment>对象。该对象必须包含任务标识符及其相应的用户信息,例如在 Orchestrator 中注册的电子邮件地址或用户名。 - Task Assignment Type - The type of the assignment operation to be performed. By default, the Assign operation is set, and it can be changed to Reassign if you want to assign the same action to a different user.
- FailedTaskAssignments - If any of the user assignment requests fail, a list is created, containing the task identifier, error message, and error code, as well as the email address or username that is registered in Orchestrator, in a
List<TaskAssignmentResponse>object in this property field. This field supportsList<TaskAssignmentResponse>objects only.
- 任务用户分配(输入) - 要向其分配/重新分配操作的任务标识符和相应用户信息的列表,存储在
-
启用多重分配- 启用分配多个任务的选项。
-
任务 ID - 任务的 ID。
-
用户名或电子邮件- 要将此任务分配给的用户的用户名或电子邮件地址。
-
Task Assignment Type - The type of the assignment operation to be performed. By default, the Assign operation is set, and it can be changed to Reassign if you want to assign the same action to a different user.
-
FailedTaskAssignments - If any of the user assignment requests fail, a list is created, containing the task identifier, error message, and error code, as well as the email address or username that is registered in Orchestrator, in a
List<TaskAssignmentResponse>object in this property field. This field supportsList<TaskAssignmentResponse>objects only.
属性面板
输入
- “Orchestrator 文件夹路径” - 要用于此活动的 Orchestrator 文件夹的路径。如果留空,则使用当前的 Orchestrator 文件夹。此字段仅支持字符串和
String变量。
其他
-
“出错时继续”- 指定在活动引发错误时是否应继续自动化操作。该字段仅支持“布尔值”(True 和 False)。
默认值为
False。因此,如果该字段为空且活动引发错误,系统将停止执行项目。如果该值设为“True”,则无论出现何种错误,系统都将继续执行项目。如果在 Try Catch 异常处理活动中包含分配任务活动,并且出错时继续属性的值为 True,则系统在执行项目时不会捕获任何错误。
-
“超时 ” - 指定最长等待时间(以毫秒为单位),如果超出该时间活动未运行,就会引发错误。默认值为
30000毫秒(30 秒)。