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 !!!!
@RobElliott thanks for you idea but not worked !!! 😞
- I have tried to create a new connection (with my user) to that flow and it doesn't work.
- I have tried to make the call from another list (created by me and on a site where I am an administrator) and it does not work.
- I have changed connection from flow (tested with all) and not work. (Attach new image)
It's strange because the flow works Ok if it is launched from Power automate, but if I call it from a list where I create a text type field with the JSON template it doesn't work even though the JSON template is Ok.
More date:
I have premium licence for Power Automate and Administrator SharePoint
I only want to run the flow from a Sharepoint list and I'm not able to.
Any other idea?
@joselaru using your JSON with one of my flows worked fine from the SharePoint button. The error message indicates a connection issue so in your flow make sure the connection the trigger and each action is using is the correct one. Or add a new connection which might solve it.