cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
scottgm
Frequent Visitor

Using executeFlow in SharePoint column

Hello, 

 

I have flow set up using the trigger "for a selected item".  To trigger this flow I have added a button in one of my SharePoint columns using JSON formatting. This has worked perfectly for months and has recently stopped functioning all of a sudden. 

 

Does anyone know if there has been a change to the CustomRowAction of ExecuteFlow that might have broken this?

 

For the purposes of this example, I have replaced my Flow GUID below with 00000s. 

 

{
"elmType": "button",
"style": {
"border": "none",
"background-color": "transparent",
"color": "#0078d7",
"cursor": "pointer"
},
"txtContent": "Email Coordinator",
"customRowAction": {
"action": "executeFlow",
"actionParams": "{\"id\": \"000000-000000-000000-000000\"}"
}

1 ACCEPTED SOLUTION

Accepted Solutions

@scottgm I've managed to fix the same exact issue:

  1. Open your specific flow
  2. On the page containing Details, history, connections, locate on the right side "Run only users" and click Edit
  3. At the top, select "SharePoint"
  4. Add the Site and List from which you try to execute the flow and it does not react
  5. Click Save at the bottom
  6. Go back to the list and it should work 🙂

View solution in original post

4 REPLIES 4
Brad_Groux
Super User II
Super User II

I'm assuming you got the idea for this from SharePoint Siren - Manually Executing a Flow from SharePoint with Column Formatting? As far as I know, there haven't been any updates to this functionality that would make it stop working. @aprildunnam (also @aprildunnam on Twitter) wrote that article, so maybe she can provide some insight. 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

v-litu-msft
Community Support
Community Support

Hi @scottgm,

 

I am tested on my side that executes the button in SharePoint I created before, it works well and not appear any issue.

 

What's the error report when you perform it?

Have you changed the Flow staus? Turn off or delete it?

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-litu-msft , Thanks for getting back to me. 

 

The button appears at as a Hyperlink in the SP column but does not take any action when clicking it. Before when it was clicked the pop-up window on the right hand side would appear to execute the flow that it was calling.

 

I will try re-creating the flow and update the ID to see if this helps.

 

Thanks.

@scottgm I've managed to fix the same exact issue:

  1. Open your specific flow
  2. On the page containing Details, history, connections, locate on the right side "Run only users" and click Edit
  3. At the top, select "SharePoint"
  4. Add the Site and List from which you try to execute the flow and it does not react
  5. Click Save at the bottom
  6. Go back to the list and it should work 🙂

View solution in original post

Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (54,099)