通过手机监视 Microsoft Flow 中的活动Monitor activity in Microsoft Flow from your phone

查看汇总情况,了解每个流在今天、昨天以及过去日子里的成功/失败次数。View a summary of how many times each flow succeeded or failed today, yesterday, and previous days. 了解每个运行的详细信息,例如运行时间、每步所花的时间,以及失败情况下的原因。Explore details about each run, such as when it ran, how long each step took and, if it failed, why.

先决条件Prerequisites

  • 支持的设备上安装适用于 AndroidiOSWindows Phone 的 Microsoft Flow 移动应用。Install the Microsoft Flow mobile app for Android, iOS, or Windows Phone on a supported device. 本主题的图片反映的是 iPhone 版应用,但 Android 和 Windows Phone 上的图片是类似的。The graphics in this topic reflect the iPhone version of the app, but the graphics on Android and Windows Phone are similar.
  • 如果还没有流,可在 Microsoft Flow 网站上创建一个。If you don't already have a flow, create one on the website for Microsoft Flow. 为了方便测试,请使用一个可由用户自行触发的流,这样就不需等待外部事件。For easier testing, use one that you can trigger yourself instead of waiting for an external event.

本教程中的流在用户收到特定地址发出的邮件时运行:The flow in this tutorial runs when you receive mail from a specific address:

在收到特定地址发出的邮件时触发流

当流能够实际使用时,可以使用个人的测试用电子邮件地址以及一个其他地址(例如,用户经理的地址)来配置此类流。You could configure such a flow with your personal email address for testing and a different address (for example, your manager's) when the flow is ready for real use.

在运行时,流会使用以下语法向用户的手机发送自定义推送通知:When the flow runs, it sends a custom push notification, with this syntax, to your phone:

发送推送通知

注意: 也可通过移动应用管理流Note: You can also manage your flows from the mobile app.

显示活动摘要Display a summary of activity

  1. 如果此前尚未运行流,可触发一个运行来生成数据。If your flow hasn't run before, trigger a run to generate data.

    数据显示在应用中可能需要一定的时间。It might take some time for the data to appear in the app.

  2. 打开移动应用,其中默认显示“活动”选项卡。Open the mobile app, which shows the Activity tab by default.

    该选项卡按天组织数据,当天的数据在上。This tab organizes data by day, with today's data at the top.

    按天组织的活动

    每个条目都会显示流的名称,其图标对应于触发事件和操作。Each entry shows the name of a flow with icons that correspond to its trigger events and actions.

    每个流的名称和图标

    如果一天中某个流至少成功运行了一次,则会有一个条目显示成功的次数,以及最近成功运行的时间。If at least one run of a flow has succeeded in a day, an entry shows the number of successes and the time when it succeeded most recently. 如果流失败,则会有另一个条目显示类似的信息。A different entry shows similar information if a flow has failed.

    成功/失败次数摘要

    如果流发送推送通知,则最近的通知的文本显示在条目底部(如果成功运行)。If a flow sends a push notification, the text of the most recent notification appears at the bottom of the entry for successful runs.

    推送通知示例

  3. 如果一天中发送了多个推送通知,则对着通知向左轻扫即可查看最多前三轮的通知。If multiple push notifications were sent in a day, swipe left on the notification to view notifications from up to three previous runs. 如果一天中发送了四个以上的通知,则可向左轻扫,当“查看更多”出现时即可单击查看包含所有通知的列表。If more than four notifications were sent in a day, swipe left until See more appears, and then tap it to view a list of all notifications.

    推送通知示例

  4. 点击“返回”回到活动摘要。Tap Back to return to the activity summary.

  5. 若要筛选活动摘要,请点击右上角的图标。To filter the activity summary, tap the icon in the upper-right corner.

    可以显示所有条目,也可以仅显示失败条目,或者仅显示包含推送通知的条目。You can show all entries, only the failure entries, or only the entries that include push notifications.

    显示所有运行时,或者仅显示失败,或者仅显示通知

显示某个运行的详细信息Show details of a run

  1. 在活动摘要中,点击某个条目即可显示最近的运行的详细信息。In the activity summary, tap an entry to show details for the most recent run.

    每个事件和操作在显示时都有一个图标,表示事件或操作是成功还是失败。Each event and action appears with an icon that indicates whether the event or action succeeded or failed. 如果成功,则还会显示所花的时间(以秒为单位)。If it succeeded, the amount of time it took (in seconds) also appears.

    运行的详细信息

  2. 在屏幕底部,点击“查看以前的运行”列出流的所有运行,然后点击某个运行显示其详细信息。At the bottom of the screen, tap See previous runs to list all runs of the flow, and then tap a run to show its details.

    成功/失败历史记录