@ashishashford I would do it a different way and only display the button if the owner is the same as the current logged in user. So in the image below I am logged in to Office 365 as rob.d.elliott99 so as that email address is shown in the Owner column the button is visible, but for the other columns it is hidden:

The JSON to conditionally display that button is as follows and it's the visibility line that's important:
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "button",
"txtContent": "Move to O365",
"customRowAction": {
"action": "executeFlow",
"actionParams": "='{\"id\":\"50097cde-b800-4c6c-ade9-95be7574f4e5\", \"headerText\":\" ' + [$Title] + '\",\"runFlowButtonText\":\"Go\"}'"
},
"style": {
"background-color": "#cf000f",
"color": "white",
"border-radius": "10px",
"visibility": "=if(([$Owner]==@me), 'visible', 'hidden')"
}
}
Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.