web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / automated flow availab...
Power Automate
Unanswered

automated flow available in a specific list view

(0) ShareShare
ReportReport
Posted on by 218

is it possible to create a flow with a manual trigger of the type "for a selected element of a list" which would be available only to users ONLY when the display of the list is filtered?

The idea would be to allow the flow to be executed only once the correct information in the list has been entered (i.e. with the correct columns filled in).

This would save me from having to integrate conditions into the flow to check the necessary columns and send a message if

 

In other words, i would like to have an automated flow available in a specific list view but not available in other list views.

Categories:
  • tom_riha Profile Picture
    10,187 Most Valuable Professional on at

    Hello @Ulysse4733 ,

    I don't think you can disable the possibility to run the flow from the context menu, once it's on the list it'll be always available. You could add a button into one of the columns that'll start the flow and show the column only in a specific view, but there'd still be the option to start it from the item context menu...

  • Ulysse4733 Profile Picture
    218 on at

    Si je comprends bien, la solution proposée est de créer une vue spécifique montrant une colonne intégrant un bouton pour exécuter le flux.
    Cela vous permet d’agir visuellement sur l’exécution du flux. c’est déjà un indice... Il ne le couvre pas complètement mais c’est déjà un début.

    Merci beaucoup, je vais le tester dans les prochaines semaines 🙂

  • Ulysse4733 Profile Picture
    218 on at

    In addition... if I display the flow execution button in a column, I should be able to condition the display of this column, right? This exists in the sharepoint form parameters...
    I therefore imagine allowing the button to be displayed only once a status column with the mention "OK"

  • RobElliott Profile Picture
    10,539 Super User 2026 Season 2 on at

    @Ulysse4733 yes that's quite easy, the parameter in your JSON is "visibility". For example:

    "visibility": "=if([$Status] == 'Done','hidden','visible')"
     
    Rob
    Los Gallardos
    Principal Consultant, SharePoint, Forms and Power Platform, WSP Global (and classic 1967 Morris Traveller driver)
  • Ulysse4733 Profile Picture
    218 on at

    ThanK you @RobElliott 


    The Json code that you propose is to be integrated into the avacne formatting of the column. That's right ?

  • RobElliott Profile Picture
    10,539 Super User 2026 Season 2 on at

    @Ulysse4733 yes that's right, the JSON goes into the advanced mode pane:

    0-SP-AdvancedMode.png

     

    So in this example the button does not display if the Status column is Completed:

     

    1-Visibility.png

     

    The full JSON code for that is:

     

    {
     "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
     "elmType": "button",
     "txtContent": "Send Email",
     "customRowAction": {
     "action": "executeFlow",
     "actionParams": "='{\"id\":\"021ec4e0-8f85-46b3-a557-a4456960a4eb\", \"headerText\":\"Email re ' + [$Title] + '\",\"runFlowButtonText\":\"Go\"}'"
     },
     "style": {
     "background-color": "#b0c4de",
     "border-radius": "10px",
     "visibility": "=if([$Status] == 'Completed','hidden','visible')"
     }
    }

     

    Rob
    Los Gallardos
    Principal Consultant, SharePoint, Forms and Power Platform, WSP Global (and classic 1967 Morris Traveller driver)

  • Ulysse4733 Profile Picture
    218 on at

    Great. I need to be able to do this

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 273 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 235

#3
David_MA Profile Picture

David_MA 172 Super User 2026 Season 2

Last 30 days Overall leaderboard