构建 bots 示例 使用这些示例任务熟悉功能,并学会在 Automation 360 中构建 bots。 从工作表将数据输入到 Web 表单中的示例在此示例中,您构建 bot 以将来自 XLSX 工作表的多行数据输入到 Web 表单中。从 Excel advanced、Loop 和 Recorder packages 使用 actions。传递值的示例 bots了解如何 TaskBot 使用字典变量将值从一个传递到另一个。使用条件语句的示例在本示例中,您构建了 bot,可基于单元格是具有值还是为空打印消息。使用来自 Excel basic 或 Excel advanced、If 和 Message Box 以及 packages 的 actions。使用 Python 脚本加入列表的示例创建使用 Python 功能打印消息 Go Be Great!(Automation Anywhere Enterprise 版本的 Hello World)的 bot。在此示例中,bot 将合并字符串值列表并将其打印到消息框中。Example of using the DLL packageBuild a very simple DLL that will generate a message. Create a bot to run the DLL.从 CSV 文件将数据传输到 Excel 工作表的示例在本示例中,您构建了 bot 以使用 CSV 文件的新产品名称更新 Excel 工作表中的产品库存。使用从 CSV/TXT、Excel advanced、IF/ELSE 和 Loop packages 的 actions。运行 TaskBot 以合并 Excel 工作表从 Bot Store 下载并运行示例 TaskBot 以合并两个电子表格。将数据从 Excel 迁移到数据库的示例在本示例中,您可以使用 Database Excel advanced 和 Loop packages 的 actions 从 Excel 电子表格中构建 bot 以将值传输到数据库。使用运行的示例 action通过 TaskBot package 的运行 action,您可以运行并将值传递给一个或多个子项 bots。在此示例中,使用运行 action 将两个值从父项bot传递到子项bot;子项 bot 将值相加,并将总和传回父项 bot。使用 SOAP Web 服务操作的示例使用 SOAP Web 服务 action 传递两个数值,并从在线计算器应用程序中返回总和。Example of using the VBScript package in a resilient botBuild a bot that executes a Microsoft Visual Basic script. Use the Try/Catch package to gracefully end the bot if it fails, making it resilient to crashes. A resilient bot allows scheduled and queued bots to continue even if the current bot encounters an error.构建Bot Insight控制面板 bot在此示例中,您构建了 bot,可从网站检索数据以在 Bot Insight 中创建可视化效果。Example using Multiple Analyze actions in a taskIn this example, you build a bot using multiple Open and Close Analyze actions in a task to analyze and compare the sales data for each quarter of XYZ Company and create visualizations in Bot Insight.
构建 bots 示例 使用这些示例任务熟悉功能,并学会在 Automation 360 中构建 bots。 从工作表将数据输入到 Web 表单中的示例在此示例中,您构建 bot 以将来自 XLSX 工作表的多行数据输入到 Web 表单中。从 Excel advanced、Loop 和 Recorder packages 使用 actions。传递值的示例 bots了解如何 TaskBot 使用字典变量将值从一个传递到另一个。使用条件语句的示例在本示例中,您构建了 bot,可基于单元格是具有值还是为空打印消息。使用来自 Excel basic 或 Excel advanced、If 和 Message Box 以及 packages 的 actions。使用 Python 脚本加入列表的示例创建使用 Python 功能打印消息 Go Be Great!(Automation Anywhere Enterprise 版本的 Hello World)的 bot。在此示例中,bot 将合并字符串值列表并将其打印到消息框中。Example of using the DLL packageBuild a very simple DLL that will generate a message. Create a bot to run the DLL.从 CSV 文件将数据传输到 Excel 工作表的示例在本示例中,您构建了 bot 以使用 CSV 文件的新产品名称更新 Excel 工作表中的产品库存。使用从 CSV/TXT、Excel advanced、IF/ELSE 和 Loop packages 的 actions。运行 TaskBot 以合并 Excel 工作表从 Bot Store 下载并运行示例 TaskBot 以合并两个电子表格。将数据从 Excel 迁移到数据库的示例在本示例中,您可以使用 Database Excel advanced 和 Loop packages 的 actions 从 Excel 电子表格中构建 bot 以将值传输到数据库。使用运行的示例 action通过 TaskBot package 的运行 action,您可以运行并将值传递给一个或多个子项 bots。在此示例中,使用运行 action 将两个值从父项bot传递到子项bot;子项 bot 将值相加,并将总和传回父项 bot。使用 SOAP Web 服务操作的示例使用 SOAP Web 服务 action 传递两个数值,并从在线计算器应用程序中返回总和。Example of using the VBScript package in a resilient botBuild a bot that executes a Microsoft Visual Basic script. Use the Try/Catch package to gracefully end the bot if it fails, making it resilient to crashes. A resilient bot allows scheduled and queued bots to continue even if the current bot encounters an error.构建Bot Insight控制面板 bot在此示例中,您构建了 bot,可从网站检索数据以在 Bot Insight 中创建可视化效果。Example using Multiple Analyze actions in a taskIn this example, you build a bot using multiple Open and Close Analyze actions in a task to analyze and compare the sales data for each quarter of XYZ Company and create visualizations in Bot Insight.