Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

automated flow available in a specific list view

(0) ShareShare
ReportReport
Posted on by 210

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.

  • Ulysse4733 Profile Picture
    210 on at
    Re: automated flow available in a specific list view

    Great. I need to be able to do this

  • RobElliott Profile Picture
    10,155 Super User 2025 Season 1 on at
    Re: automated flow available in a specific list view

    @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
    210 on at
    Re: automated flow available in a specific list view

    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,155 Super User 2025 Season 1 on at
    Re: automated flow available in a specific list view

    @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
    210 on at
    Re: automated flow available in a specific list view

    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"

  • Ulysse4733 Profile Picture
    210 on at
    Re: automated flow available in a specific list view

    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 🙂

  • tom_riha Profile Picture
    10,127 Most Valuable Professional on at
    Re: automated flow available in a specific list view

    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...

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492