run flow using JSON doesn't work in Home Page

Brass Contributor

I'm using JSON column formatting to run flow using button. In List Page, everything works well, the flow is launched by pressing the button, but if I open this List in Home Page, the button does not work. How can this be fixed?

{
  "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
  "elmType": "button",
  "customRowAction": {
    "action": "executeFlow",
    "actionParams": "{\"id\": \"j0105ab2-ea8a-478d-b7fa-89180dca1c7b\"}"
  },
  "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": "It's Flow Time!"
    }
  ]
}

Screenshot_629.pngScreenshot_628.png

2 Replies
Hello @Pavel48n0sh ,Have you got any solution for this issue because I am also facing the same issue.

@Antima1260 it won't work from the web part, it has to be run from the list itself.