Skip to Content
学习 Microsoft Power Automate
book

学习 Microsoft Power Automate

by Paul Papanek Stork
May 2025
Intermediate to advanced
354 pages
4h 49m
Chinese
O'Reilly Media, Inc.
Content preview from 学习 Microsoft Power Automate

第 6 章 与其他 Power Platform 应用程序集成 与其他Power Platform 应用程序集成

本作品已使用人工智能进行翻译。欢迎您提供反馈和意见:translation-feedback@oreilly.com

Power Automate 流程 是一个非常强大的手动业务流程自动化工具。但它们也有一些局限性。Cloud 流由事件触发,例如用户按下移动应用程序中的按钮或修改数据源中的记录。但是,Power Automate 本身并没有提供太多的用户界面(UI),无法在运行时与流程进行交互。某些流程触发器可以显示一个简单的数据输入面板,以便在运行时输入参数,但这样的面板不提供格式化或样式化功能--它只是按照您添加的顺序列出您在流程触发器中指定的字段。同样,在流程运行时,与用户交互的选项也很有限。最常见的交互机制是电子邮件,它向流程返回信息的功能有限。

Power Automate 的局限性 在许多情况下,可以通过将 Power Automate 流程与其他 Power Platform 应用程序集成来缓解。在本章中,我将介绍将 Cloud flow 与其他 Power Platform 应用程序集成所需的知识。

正如我们在本书前面所讨论的,Power Automate 是 Microsoft Power Platform 中的五个应用程序之一。其他 Power Platform 应用程序如下:

Power BI

操作和可视化数据的工具,帮助做出业务决策

电源应用程序

低代码/无代码应用程序,用于创建利用后台数据源的定制应用程序

Power Pages

用于构建商业网站的低代码/无代码应用程序

Copilot Studio(强力虚拟代理)

低代码/无代码工具,用于构建能与员工或客户对话的聊天机器人

将 flow 与另一个 Power Platform 应用程序集成的最常见原因之一是提供用户界面,以便在运行 flow 之前轻松收集输入参数。例如,您可以使用 Power App 作为前端,为用户提供在调用流程前输入信息的简便方法。使用 Power App 可以配置屏幕以方便输入,还可以使用日期选择器和切换开关等专用控件。这可以使输入更简单、更高效。输入完成后,您可以将信息传递给流程进行处理。

使用解决方案

如果 您想将 Power Automate 流程与任何其他 Platform 应用程序集成,首先需要了解 "解决方案"。解决方案用于打包应用程序、流程、Power Pages 站点、Power BI 报告和机器人。将流程与其他应用集成会在不同组件之间产生依赖关系。由于这会增加相关应用程序的复杂性,因此最佳做法是将开发、测试和生产部署分开。如果尝试移动与其他应用程序集成的流程,就会破坏集成所创建的依赖关系。结果就是在将其移动到新环境后,需要进行更多的工作和重构。在解决方案中构建应用程序、流程和机器人,可以在移动组件时保留这些依赖关系。

创建新的解决方案

创建 解决方案相当简单。您只需提供解决方案的显示名称、发布者和起始版本号。您还可以选择添加描述和配置页面。大部分信息都很直观,但有三项需要解释一下。图 6-1显示了创建新解决方案时显示的面板。

Create a new Solution
图 6-1. 创建新解决方案

发布者是 "解决方案 "中组件的所有者,并能确定是谁开发了这些组件。但这种所有权并不代表任何安全角色。要让其他用户编辑组件,需要共享组件。例如,要让其他用户编辑流程,就需要与他们共享流程,并让他们成为共同所有者。有关创建解决方案发布器的更多信息, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

使用 Microsoft Power Platform 构建解决方案

使用 Microsoft Power Platform 构建解决方案

Jason Rivera
Citrix XenApp Platinum Edition for Windows: The Official Guide, 4th Edition

Citrix XenApp Platinum Edition for Windows: The Official Guide, 4th Edition

Tim Reeser, Steve Kaplan, Brian Casselman, Alan Wood

Publisher Resources

ISBN: 9798341657816