web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

What is Tracked Properties in Power Automate?

Tamilarasu Arunachalam Profile Picture Tamilarasu Arunachalam 558

 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!

This was originally posted here.

Comments

*This post is locked for comments