Hello,
I have created a button for my flow in a document library.
However when clicking on the button, the flow does not load on the side of the screen. It just says "setting up / waiting"...


I've used this JSON code for my button:
{
"elmType": "button",
"customRowAction": {
"action": "executeFlow",
"actionParams": "{\"id\": \"099c4dc6-976d-4d7f-bd1b-dd1dcf5607ec\"}"
},
"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": "Start the Automate"
}
]
}
I've used buttons like this on lists before but not document libraries.