Power Automate Desktop概览

点击蓝字关注我们

Power Automate Desktop概览

Microsoft Power Automate使得通过自动化重复性、耗时的任务来提高您的业务效率成为可能。Power Automate提供了一种更好的方法,通过数字和机器人过程自动化(RPA)在整个组织中完成任务。

Microsoft Ignite 在线活动小伙伴们都有参加么?重磅内容不断刷新我们的视野,作为Power Platform 的门面,Logo也进行了迭代,让我们首先来看一下长什么样子吧。

Power Automate Desktop概览

Power Apps

Power Automate Desktop概览

Power BI

Power Automate Desktop概览

Power Automate

Power Automate Desktop概览

Power Virtual Agents

除此之外,2020年发布第二波计划也临近了(更新内容可以从https://go.microsoft.com/fwlink/?linkid=2134934获取),作为Microsoft Power Platform中重要一员的Power Automate也又很多改进和更新。今天我们就来看一下最新的Power Automate Desktop (preview) ,可以给我们设计流程时候带来什么不同的体验。

前置要求:

  1. 带有RPA的Power Automate付费或试用许可证。

  2. 使用管理员权限和Power Automate登录到Windows设备的工作或学校帐户。

  3. 运行Windows 10 Pro、Windows 10 Enterprise、Windows Server 2016或Windows Server 2019的设备。

  4. 具有公共数据服务数据库的环境。

  5. 附加的支持键盘。

在使用之前,肯定离不开安装,熟悉的小伙伴可以略过。

1.下载UI Flow 安装包

https://go.microsoft.com/fwlink/?linkid=2102613

2.打开下载好的安装“Setup.Microsoft.PowerAutomate.UIflow.exe”

Power Automate Desktop概览

a.首先进行功能选择,选择UI flow 、Power Automate Desktop(preview)或者全选。

Power Automate Desktop概览

b.下一步选择安装位置与具体设置。

Power Automate Desktop概览

c.安装完成后,可以启用对应浏览器扩展插件。

Power Automate Desktop概览

如果不小心关掉了启用扩展插件的页面,可以根据以下步骤启用。

  1. 如果你正在使用全新的Microsoft Edge浏览器:

  1. 地址栏中输入:

    edge://extensions/,进入扩展并启用。

    Power Automate Desktop概览

  2. 右上角三个点,点击并打开扩展菜单。

Power Automate Desktop概览

  1. Edge打开以下内容并安装。

UI flows: 

https://microsoftedge.microsoft.com/addons/detail/ui-flows-in-microsoft-pow/fkgaaaabjmlmanjbpjgfpnchcagmkkjf

Power Automate Desktop(preview): 

https://microsoftedge.microsoft.com/addons/detail/microsoft-power-automate-/njjljiblognghfjfpcdpdbpbfcmhgafg

Power Automate Desktop概览

2.如果你正在使用Google Chrome浏览器(记得科学上网):

a.地址栏中输入:chrome://extensions/,进入扩展并启用。

Power Automate Desktop概览

b.右上角扩展

Power Automate Desktop概览

c.Chrome打开以下内容并安装

UI flows:

https://chrome.google.com/webstore/detail/jcajipieipkmjpfakbdhmjidmhidogoo

Power Automate Desktop(preview):

https://chrome.google.com/webstore/detail/gjgfobnenmnljakmhboildkafdkicala

Power Automate Desktop概览

完成安装后,可以通过Windows菜单栏进入Power Automate Desktop (preview)。

Power Automate Desktop概览

Emm…熟悉的Automate的蓝。点击登录,输入我们所拥有的账户即可。

Power Automate Desktop概览

整体设计跟在线Web版本很像,保留了功能位置,以避免大家找不到常用的按键。

Power Automate Desktop概览

创建页面也很简洁,目前还看不到选择模版,并且在创建时候,没有选择Trigger的选项,这个是与Web版本一个不同的地方。

Power Automate Desktop概览

创建完成之后,会在我们的Flows中看到刚刚创建好的Flow,并且会自动弹出Power Automate Desktop设计器。

Power Automate Desktop概览

Power Automate Desktop概览

我们可以从一个简单的示例来开始使用 Power Automate Desktop (preview)

获得输入位置的内容后,获取当前日期和时间。

1.我们定义一个变量:Region

Power Automate Desktop概览

2.我们在左侧Actions中找到Get current date and time.

Power Automate Desktop概览

3.完成后,继续添加Convert datetime to text动作。

Power Automate Desktop概览

4.添加Get special folder

Power Automate Desktop概览

5.添加Create Folder,修改参数如图所示。

Power Automate Desktop概览

6.添加Write text to file动作,修改文件名称为:%SpecialFolderPath%\Regions\%Region%\%FormattedDateTime%.txt

在文字写入部分,我们可以任意输入内容,也可以使用变量内容。

Power Automate Desktop概览

7.添加Get files in folder

动作,获取文件夹中存在的文件。%SpecialFolderPath%\Regions\%Region%

Power Automate Desktop概览

8.在Output中,创建两个输出变量。

Power Automate Desktop概览

Power Automate Desktop概览

9.添加两个设置变量的操作。

Power Automate Desktop概览

Power Automate Desktop概览

10.完成动作的添加和参数的修改后点击保存。

11.点击Run运行我们的测试,结果如下:

Power Automate Desktop概览

完成试验后,我们还可以通过桌面的文件来验证是否创建成功。

Power Automate Desktop概览

返回我们设计器的位置,找到我们刚刚创建的Flow,点击运行,填入Input需要的参数,检查运行后的结果。

Power Automate Desktop概览

Power Automate Desktop概览

Power Automate Desktop概览

本地测试成功后,我们继续将UI Flow关联到云端,在这里我们会涉及到on-premises data gateway,没安装的请提前安装或者在 创建Flow后添加。

1.回到我们最熟悉的Web设计页面,创建一个手动执行的Flow.

Power Automate Desktop概览

2.添加input 手动执行参数,添加Run a flow built by Power Automate Desktop (preview)。

Power Automate Desktop概览

3.选择数据网关,在其中选中我们创建的UI flow,在Region的参数中添上动态内容的Country/Region。

Power Automate Desktop概览

4.保存后,通过手机端,可以点击对应的按钮,测试运行结果。

Power Automate Desktop概览

5.我们在云端也可以看到我们运行的记录,并且本地文件也建立了新的文件。

Power Automate Desktop概览

Power Automate Desktop概览

好了,以上就是我们本次关于新的UI Flow编辑工具“Power Automate Desktop (Preview)”的分享与演示,如果你有好的想法,欢迎在文章底部留言。

相关文章: