What is Tracked Properties in Power Automate?

Tamilarasu Arunachalam
2 min readSep 17, 2023

--

Photo by Kevin Woblick on Unsplash

Tracked Properties are the properties which are not directly displayed from the input or output of the action. Tracked Properties are added as a key value pairs. We can retrieve that in the next actions using the action using the expressions.

We can use the tracked propertied to get the execution time of the flow step or to pass any data inside the flow without affecting the input and output.

For that, I have created an Instant flow in Power Automate. In this flow, I tried to get the user who is running the flow.

To get the user who is currently running the flow, you have to use the below expression

triggerOutputs()['headers']['x-ms-user-name']

For adding the tracked properties, you have to click on the ellipsis(on the top right of the flow step) → settings.

In this, I have added two properties, flag and currentDateTime. Flag returns a random GUID, and currentDateTime returns a date-time while the flow step is executed.

We can retrieve the tracked properties from the flow step using the below expression.

actions('Get_Current_User')?['TrackedProperties']

The below is the syntax for the expression for getting the tracked properties.

And the result would be the JSON as below

actions({Step Name})?['TrackedProperties']

We can get the particular tracked property using the below expression

actions('Get_Current_User')?['TrackedProperties/flag']
actions('Get_Current_User')?['TrackedProperties/currentDateTime']

The result of the run is in the below picture.

Have a Good day!

Originally published at https://www.tamilarasu.me on September 17, 2023.

--

--

Tamilarasu Arunachalam

A Software Engineer with experience in developing applications out of Power Platform, majorly on Power Apps and Power Automate. I am a seasonal blogger too.