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,
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')
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.
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.
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional