uipath-cli
latest
false
UiPath CLI 用户指南
重要 :
请注意,此内容已使用机器翻译进行了本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
uip rpa 旧版调试
“uip rpa-legacyDebug”的语法和选项,通过 UiRobot 借助实时日志流式传输在本地执行 XAML 工作流。
uip rpa-legacy debug通过 UiRobot 在本地执行 XAML 工作流。它以流式传输实时日志,如果成功,则返回结构化输出参数,如果失败,则返回错误详细信息。需要在本地计算机上安装 UiRobot — 默认情况下,谓词自动检测UiRobot.exe ;传递--robot-path进行覆盖。
仅限 Windows — 请参阅概述警告。
大纲
uip rpa-legacy debug <xaml-path> [options]
uip rpa-legacy debug <xaml-path> [options]
<xaml-path>(必填) — 要执行的 XAML 工作流文件的路径。
选项
| 标记 | 描述 |
|---|---|
-i, --input <json> | JSON 字符串形式的输入参数。 |
--result-path <path> | 将结构化执行结果 (输出参数或错误详细信息) 写入 JSON 文件。 |
--timeout <seconds> | 执行超时(以秒为单位)( 0 = 不超时)。 |
--robot-path <path> | UiRobot.exe路径(如果未提供,则系统会自动检测到)。 |
示例
# Run a workflow with no input
uip rpa-legacy debug ./MyProject/Main.xaml
# Pass input arguments inline and write the result to a file
uip rpa-legacy debug ./MyProject/Main.xaml \
--input '{"invoicePath":"C:/data/inv.pdf"}' \
--result-path ./run-result.json
# Use an explicit UiRobot path with a 5-minute timeout
uip rpa-legacy debug ./MyProject/Main.xaml \
--robot-path "C:/Program Files/UiPath/Studio/UiRobot.exe" \
--timeout 300
# Run a workflow with no input
uip rpa-legacy debug ./MyProject/Main.xaml
# Pass input arguments inline and write the result to a file
uip rpa-legacy debug ./MyProject/Main.xaml \
--input '{"invoicePath":"C:/data/inv.pdf"}' \
--result-path ./run-result.json
# Use an explicit UiRobot path with a 5-minute timeout
uip rpa-legacy debug ./MyProject/Main.xaml \
--robot-path "C:/Program Files/UiPath/Studio/UiRobot.exe" \
--timeout 300
相关内容
uip rpa-legacy validate— 在调试前验证,以首先捕获编译错误。uip rpa-legacy pack— 在项目正常运行后将其打包。uip rpa run-file— 跨平台工作流运行程序;更喜欢将其用于非旧版项目。uip rpa-legacy— 工具概述。