活动
最新
False
横幅背景图像
工作流活动
上次更新日期 2024年4月22日

添加事务项目

队列中添加新项目并启动事务。 项目的状态设置为“正在进行”。 作为QueueItem变量返回项目。

定义

命名空间: UiPath Activities.System.API

程序集: UiPath.System.Activities.Api(在 UiPath.System.Activities.Api.dll 中)

重载

  
AddTransactionItem(String)队列中添加新项目并启动事务。 项目的状态设置为“正在进行”。 作为QueueItem变量返回项目。
AddTransactionItem(String, String)队列中的指定文件夹路径中添加新项目,并启动事务。 项目的状态设置为“正在进行”。 作为QueueItem变量返回项目。
AddTransactionItem(String, String, String, Dictionary<String,Object>, Int32)队列中添加新项目以及其他配置,然后启动事务。 项目的状态设置为“正在进行”。 作为QueueItem变量返回项目。

AddTransactionItem(String, String)

队列中添加新项目并启动事务。 项目的状态设置为“正在进行”。 作为QueueItem变量返回项目。
QueueItem AddTransactionItem(
	string queueType
)QueueItem AddTransactionItem(
	string queueType
)
queueType 字符串
要添加队列项目对象的队列。 名称不区分大小写,这意味着如果在 Orchestrator 中将其定义为 "MyFirstQueue",则与 "myfirstqueue"匹配。

AddTransactionItem(String, String)

队列中的指定文件夹路径中添加新项目,并启动事务。 项目的状态设置为“正在进行”。 作为QueueItem变量返回项目。
QueueItem AddTransactionItem(
	string queueType,
	string folderPath
)QueueItem AddTransactionItem(
	string queueType,
	string folderPath
)
queueType 字符串
要添加队列项目对象的队列。 名称不区分大小写,这意味着如果在 Orchestrator 中将其定义为 "MyFirstQueue",则与 "myfirstqueue"匹配。
folderPath 字符串
指定队列所在的文件夹路径(可能与运行流程的文件夹不同)。 此字段仅支持字符串值,并使用/作为分隔符来表示子文件夹。 例如"Finance/Accounts Payable"

AddTransactionItem(String, String, String, Dictionary<String,Object>, Int32)

队列中添加新项目以及其他配置,然后启动事务。 项目的状态设置为“正在进行”。 作为QueueItem变量返回项目。
QueueItem AddTransactionItem(
	string queueType,
	string folderPath,
	string reference,
	Dictionary<string, Object> transactionInformation,
	int timeoutMS
)QueueItem AddTransactionItem(
	string queueType,
	string folderPath,
	string reference,
	Dictionary<string, Object> transactionInformation,
	int timeoutMS
)
queueType 字符串
要添加队列项目对象的队列。 名称不区分大小写,这意味着如果在 Orchestrator 中将其定义为 "MyFirstQueue",则与 "myfirstqueue"匹配。
folderPath 字符串
指定队列所在的文件夹路径(可能与运行流程的文件夹不同)。 此字段仅支持字符串值,并使用/作为分隔符来表示子文件夹。 例如"Finance/Accounts Payable"
reference 字符串
所添加队列项目的引用。
transactionInformation 字典字符串对象
有关要添加的特定事务项目的附加信息集合。 这些信息存储在项目中,并在事务处理期间使用。字符串参数的值不能包含以下字符: [" "。 参数名称不能包含以下字符: :.,@"
timeoutMS Int32
指定等待时间 (以毫秒为单位)。如果超出该时间活动未运行,就会引发错误。默认值为 30000 毫秒 (30 秒)。

返回值

QueueItem

添加的事务项目。

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.