jsantos489
Apr 27, 2022Copper Contributor
Flow button IF Condition
Hy Guys,
I have my Sharepoint List with a button to execute a flow (Fechar Pedido, column 'Tete').
But I Want a condition,
IF the value of column 'Tipo de Ficha' = 'Novo Fornecedor',
(The present flow button)
Else,
(Other Button with another flow on it)
CODE:
(This is the code for the present button)
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "button",
"customRowAction": {
"action": "executeFlow",
"actionParams": "{\"id\": \"dd3debb9-ee20-4051-823f-c0f7252dfb44\"}"
},
"attributes": {
"class": "ms-fontColor-themePrimary ms-fontColor-themeDarker--hover"
},
"style": {
"border": "none",
"background-color": "transparent",
"cursor": "pointer"
},
"children": [
{
"elmType": "span",
"attributes": {
"iconName": "Flow"
},
"style": {
"padding-right": "6px"
}
},
{
"elmType": "span",
"txtContent": "Fechar Pedido"
}
]
}
SHAREPOINT LIST:
I Just wnat an IF Statement on that code.
Thanks in advance