Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Issue running a flow from a sharepoint list

(0) ShareShare
ReportReport
Posted on by 18

Hello,

 

I have created a link to trigger a flow from a sharepoint list column using the code below:

 

{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "button",
"customRowAction": {
"action": "executeFlow",
"actionParams": "{\"id\": \"xxxxxxxxxxxx\"}"
},
"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": "Print Item"
}
]}

 

This code works fine in one list and runs as expected, however, I'm using this exact same code in another list in the same SP site and the only difference is the ID of the flow triggered, but I am not getting the flow pane to pop up.  The flow is exactly the same as the working flow,  save for the differences in lists and document libraries accessed and the format code is exactly the same except for the ID.

 

The peculiar thing is that if I use the ID of the flow that works in the list that's having issues, I get the flow pane. However, If I use the non-working flow ID in the list that is working, I still don't get the pane.

 

I even created a basic flow for testing that just sends an email when triggered and I still can't the pane to show up in the non working list. I've also used the ID of that test flow in the list that's working and cannot get the pane to pop up.

 

It seems as if I can only use one ID for the site.

 

So, my question is it possible that you can only one trigger per site? I've recreated the flow and list several times to no avail and I am out of ideas.

 

Here's what the link looks like in the list:

img1.png

 

Thanks

  • Verified answer
    belzoni Profile Picture
    18 on at
    Re: Issue running a flow from a sharepoint list

    Circling back, the sharepoint list was not shared with the flow.

     

    It's working now,

  • wskinnermctc Profile Picture
    6,517 Super User 2025 Season 1 on at
    Re: Issue running a flow from a sharepoint list

    I've never seen what you have done before, but it looks really great. I will have to try to incorporate that method.

     

    I'm just guessing, but can you try adding the SharePoint Lists/Document Library as owners of the flow? 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,605 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow