Dear flow experts,
Can you please help me to amend the below json code so that a button in a SharePoint List that runs a certain flow shows only when the value of a column called (Approval Triggered) is set to (New) or (Resubmit):
{
"elmType": "button",
"txtContent": "Get Approved",
"customRowAction": {
"action": "executeFlow",
"actionParams": "{\"id\": \"92a6ce98-6eea-4655-878d-312fd096f957\"}"
},
"style": {
"background-color": "grey",
"color": "white",
"visibility": {
"operator": "?",
"operands": [
{
"operator": "==",
"operands": [
"[$_ApprovalTriggered]",
"New"
]
},
"visible",
"hidden"
]
}
}
}
Also, can I have the code to add to Flow Trigger Conditions under trigger settings so that the flow does not run?
Thank you,