Showing results for 
Search instead for 
Did you mean: 
Level: Power Up

VSTS condition for Git with list of files in commit

Currently I can specify flow to trigger upon pull request in VSTS Git, but I can't filter based on files in pull request. I want to implement a condition to continue flow only if path to the file in pull request contains given substring.

Community Support Team
Community Support Team

Re: VSTS condition for Git with list of files in commit

Hi yanrez,


Could you show me a screenshot of your flow?
How is the trigger upon pull request configured?
Could you get a dynamic content for Path from the trigger?

Hope this doc could be a reference for you:


Best regards,
Mabel Mao

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

Helpful resources


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 210 members 3,686 guests
Please welcome our newest community members: