Hi,
I have created a list in Sharepoint, inside the list a text type field, I have formatted the field with a JSON template (is validate ok) and updated the id of my flow (instant cloud flow type)
Format template JSON
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "button",
"customRowAction": {
"action": "executeFlow",
"actionParams": "{\"id\": \"edf627d9-20f4-45ba-8bc9-4494bf2ff1be\"}"
},
"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": "Send to Manager"
}
]
}
If I run the flow from Power Automate it is OK
If I run the flow from the list button it gives me the following error "Cannot read properties of undefined (reading 'containsInvokerConnectionReferences')"
--> What's wrong, any ideas?
Thanks !!!!