Notifications
Announcements
Hi,
I would like to understand if there is a way, within a Power automate flow, to check if the running flow has been run as a test or not.
Thanks
Hi @RobertoRossi,
As far as I am aware you can only see if it was a Test when it has completed in the Status column of the 28-day run history.
That Status column will either show for example Test succeeded/Test failed instead of Succeeded/Failed when it has been running as a test.
Hi @Expiscornovus
Thanks for the answer but the purpose is to make decisions within the flow based on the type of execution (test or not).
I thought there were some flow properties to query during execution.
I have double checked the trigger outputs of the Manually trigger a flow action. That specific trigger actions seems to add the value testFlow to the property called x-ms-client-keywords. That might something you are able to check in an expression.
equals(triggerOutputs()['Headers']['x-ms-client-keywords'], 'testFlow')
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 519 Super User 2025 Season 2
Tomac 296 Moderator
abm abm 232 Most Valuable Professional