
Test Suite 用户指南
在 Orchestrator 中运行作业
- 在 Orchestrator 中创建流程。
- 运行 CLI
exe
(适用于 Windows)或dll
(适用于 Linux)文件。 - 添加所需的 Orchestrator API 访问应用程序作用域。
用法:
job run <process_name> <orchestrator_url> <orchestrator_tenant> [-i <input_path>] [-j <jobscount>] [-R <result_path>] [-P <priority>] [-r <robots>] [-f <do_not_fail_when_job_fails>] [-W <timeout>] [-w <do_not_wait>] [-u <orchestrator_user> -p <orchestrator_pass>] [-t <auth_token> -a <account_name>] [-A <account_for_app> -I <application_id> -S <application_secret> --applicationScope] [-o <folder_organization_unit>] [-l <language>]
job run <process_name> <orchestrator_url> <orchestrator_tenant> [-i <input_path>] [-j <jobscount>] [-R <result_path>] [-P <priority>] [-r <robots>] [-f <do_not_fail_when_job_fails>] [-W <timeout>] [-w <do_not_wait>] [-u <orchestrator_user> -p <orchestrator_pass>] [-t <auth_token> -a <account_name>] [-A <account_for_app> -I <application_id> -S <application_secret> --applicationScope] [-o <folder_organization_unit>] [-l <language>]
示例:
-
job run ProcessName "https://uipath-orchestrator.myorg.com" default -u admin -p 123456
-
job run ProcessName "https://uipath-orchestrator.myorg.com" default -u admin -p 123456 -P Low
-
job run ProcessName "https://uipath-orchestrator.myorg.com" default -u admin -p 123456 -P Normal -o MyFolder
作业运行流程名称“https://uipath-orchestrator.myorg.com” 默认值 -u admin -p 123456 -P 高 -o 我的文件夹
-
job run ProcessName "https://uipath-orchestrator.myorg.com" default -t a7da29a2c93a717110a82 -a myAccount -f false -W 0
作业运行流程名称“https://uipath-orchestrator.myorg.com” 默认值 -t a7da29a2c93a717110a82 -a myAccount -P 高 -j 3 -w false
-
job run ProcessName "https://uipath-orchestrator.myorg.com" default -t a7da29a2c93a717110a82 -a myAccount -P Low -r robotName -R C:\Temp
作业运行流程名称“https://uipath-orchestrator.myorg.com” 默认值 -t a7da29a2c93a717110a82 -a myAccount -r 机器人名称 -RC:\Temp\status.json
-
job run ProcessName "https://uipath-orchestrator.myorg.com" default -A accountForExternalApp -I myExternalAppId -S myExternalAppSecret --applicationScope "OR.Folders.Read OR.Settings.Read" -r robotName -R C:\Temp\status.json