UiPath Documentation
uipath-cli
latest
false
重要 :
请注意,此内容已使用机器翻译进行了本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

UiPath CLI 用户指南

uip rpa 获取工作流示例

uip rpa get-workflow-example下载策划的工作流示例的 XAML 内容。该动词是“发现-然后-获取”对的后半部分: uip rpa list-workflow-examples返回示例键(示例目录中的路径),并且此动词将键解析为您可以保存到项目中的实际 XAML。

Studio 会解析示例索引,因此动词需要 Windows 运行器。

大纲

uip rpa get-workflow-example --key <string>
uip rpa get-workflow-example --key <string>

选项

标记描述
--key <string>示例工作流的 Blob 键/路径,由list-workflow-examples返回。示例: email-automation/add-new-gmail-emails-to-keap-as-contacts.xaml

有关已安装工具版本的完整选项列表,请运行:

uip rpa get-workflow-example --help
uip rpa get-workflow-example --help

示例

# Fetch a specific example XAML by key
uip rpa get-workflow-example \
  --key "email-automation/add-new-gmail-emails-to-keap-as-contacts.xaml"

# Pipe the result to a file in your project
uip rpa get-workflow-example \
  --key "web-api-automation/post-message-to-slack.xaml" \
  --output plain > Workflows/PostToSlack.xaml
# Fetch a specific example XAML by key
uip rpa get-workflow-example \
  --key "email-automation/add-new-gmail-emails-to-keap-as-contacts.xaml"

# Pipe the result to a file in your project
uip rpa get-workflow-example \
  --key "web-api-automation/post-message-to-slack.xaml" \
  --output plain > Workflows/PostToSlack.xaml

另请参阅

  • 大纲
  • 选项
  • 示例
  • 相关内容
  • 另请参阅

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新