cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

How to create a condition with filepath name that contains a specific word

I'm trying to create a flow that will divert files according to words in the file name. But my flow always diverts one way, not finding the word I state in the @contains condition. What am I doing wrong?

 

@contains(triggerOutputs()['headers']['x-ms-file-name-encoded'], 'ADP')

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: How to create a condition with filepath name that contains a specific word

Hi @MeThree_,

 

Could you please share a screenshot of the configuration of your flow?

What is the trigger in your flow?Is it "When a file is created" of Onedrive for business Connector?

 

I have made a test on my side,you could refer to screenshot below to create the flow:

Capture.PNG

 

The flow would run successfully as below:

Capture.PNG

 

 

Best regards,

Alice 

 

 

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: How to create a condition with filepath name that contains a specific word

Hi @MeThree_,

 

Could you please share a screenshot of the configuration of your flow?

What is the trigger in your flow?Is it "When a file is created" of Onedrive for business Connector?

 

I have made a test on my side,you could refer to screenshot below to create the flow:

Capture.PNG

 

The flow would run successfully as below:

Capture.PNG

 

 

Best regards,

Alice 

 

 

View solution in original post

Highlighted
Community Support
Community Support

Re: How to create a condition with filepath name that contains a specific word

Hi @MeThree_,

 

Have your problem be solved according to my solution?  If yes, please go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

 

Best Regards,

Alice

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Users online (7,476)