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

第 9 章 业务流程 业务流程流

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

Cloud flow 用于在有连接器或 API 的地方自动执行业务流程。桌面流程可以自动执行在计算机上完成的手动任务。但是,如果您的业务流程涉及多人或多组人员完成不同的任务集,该怎么办呢?这时就需要使用业务流程流(BPF)。BPF 提供了一个可视化的清单,列出了为实现某个结果而需要完成的任务。它们可用于跟踪数据收集的进度以及个人或小组任务的完成情况。这种类型的跟踪有助于协调多人和多组的工作,并提高作为流程一部分输入的数据的一致性和完整性。

什么是业务流程?

BPF 可以协调完成一系列相关任务的人员。例如,在新员工入职时,有许多任务需要由不同的人按照特定顺序完成。下面列出了一组典型的入职任务:

  • 安全人员需要创建用户账户,并分配适当的访问级别。

  • 人力资源部需要为新员工加入公司的医疗保险和福利计划。

  • 经理需要为新员工申请工作电话和电脑。

  • 需要向新员工发送包含这些信息的欢迎信息。

在此 BPF 中,公司安全部门的人员将为新员工创建一个用户账户,并分配其起始访问权限。然后,人力资源部门的人员会将该员工加入公司的医疗保险和福利计划。新员工的经理将提交工作电话和电脑的申请。最后,一封包含所有这些信息的欢迎电子邮件将自动发送给新员工。每一个阶段都由不同的小组或个人负责,其中有些阶段需要在前一个阶段完成后才能开始。BPF 的职责就是协调这些活动。

BPF 由阶段 组成,每个阶段包含一个或多个步进。有四种步骤可以添加到阶段中。下表总结了每种可用的步骤:

数据步骤

设置与 BPF 相关的 Dataverse 表中字段的值

行动步骤

在舞台上添加按钮,执行 Dynamics 操作或工作流程

流程步骤

在阶段中添加一个按钮,该按钮将运行即时 Power Automate Cloud 流程(此步骤类型仍处于预览阶段,在全面可用之前可能会发生变化)。

工作流程

退出当前阶段时自动运行 Dynamics 工作流程

备注

Dynamics 操作和工作流不应与 Power Automate 流程混淆。Dynamics 操作执行业务流程,如拨打电话、发送电子邮件或触发工作流。Dynamics 工作流提供了类似于 Power Automate 的功能,这是 Dynamics 特有的。它们是仍可在 BPF 中使用的传统实现。本书重点介绍 Power Automate 流程的最新实现。

每个 BPF 都连接到一个 Dataverse 表。然后,流程的阶段会显示在使用该 Dataverse 表创建的模型驱动应用程序的表单顶部。图 9-1显示了 BPF 在为 Dataverse 表创建的模型驱动应用程序中的样子。您可以看到 BPF 的名称和显示在表单顶部的流程的各个阶段。当前阶段已展开,显示该阶段的步骤。在阶段的底部,有一个 "下一阶段 "按钮,可以将流程移动到下一个阶段。

Typical BPF
图 9-1. 典型 BPF

创建业务流程

BPF 必须作为解决方案的一部分构建。BPF、它所连接的 Dataverse 表以及 BPF 调用的任何 Cloud 流量都应是同一解决方案的一部分。

备注

Power Automate ...

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