cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jmathur
Helper I
Helper I

How to include a condition to check multiple values in a column

I am creating a flow so that when a document is created or modified in Library A, it creates a link in Library B to Library A. 

 

I need the Flow to also update previously created links. For example, if a link to Library A was already created but the file name (and therefore the link) changes, I need the flow to scan Library B, identify that previously created link, and update the file content. 

 

Currently, I have created a column in Library B to update with the list ID associated with the file in Library A. My idea is that when the flow scans Library B, it is looking for that unique list ID. If it does find it, it should update the the file content. 

 

The problem isthat when the flow Gets the file properties, it does not check each value, so it does not register that it is in the library. How do I fix this? 

 

See below for flow images. 

2019-10-14_10-27-48.png2019-10-14_10-28-10.png

 

2019-10-14_10-29-06.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @jmathur,

 

You can use the Get files action with Odata filter query to get the file, for example, PCID eq 'Dynamic content PCID':Annotation 2019-10-15 154717.png

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.

View solution in original post

2 REPLIES 2
v-litu-msft
Community Support
Community Support

Hi @jmathur,

 

You can use the Get files action with Odata filter query to get the file, for example, PCID eq 'Dynamic content PCID':Annotation 2019-10-15 154717.png

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
Community Support
Community Support

Hi @jmathur,

 

Has your problem been solved?
If your problem has been solved, You could 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,
Community Support Team _ Lin Tu

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (6,946)