user2481770
user2481770

Reputation: 1

Create history and log for Power Automate cloud flows

How to create history and log for Power Automate cloud flows and add all the workflow logs in a SharePoint list?

Upvotes: 0

Views: 486

Answers (1)

Laviza Falak Naz
Laviza Falak Naz

Reputation: 446

Create a SharePoint list and create item whenever there is a failure/success (or whenever you want to log the history). Configure the Run after of actions to achieve this.

To populate the SharePoint list, use workflow() function to obtain necessary information such as executionid, name, start time, end time, etc. You can also use internal flow variables to obtain information like duration, inputs, triggerOutputs, response or value of a certain variable during the flow execution.

Here's an overview of the execution and implementation of workflow() function.

Upvotes: 0

Related Questions