Forum Discussion
Microsoft Flow - How to create condition based on Document metadata
I would like to trigger Microsoft Flow action in a document library based on a document's metadata. The metadata (fields) don't appear under the selection.
How do you define a condition based on a document's metadata?
16 Replies
- JayeshGandhiCopper Contributor
When can we expect this feature?
Our scenario is we want to create pages with specific content type On-Premise/Online.We call a trigger to create Yammer post for it. Since we want the yammer user ID to impersonate, we want to store user ID as custom column in the pages library or use OOTB created by column
We are able to do the above steps. Issue is in MS Flow, we cannot read the custom column from Pages Library.Alternative solutions are appreciated.
- Mikael SvensonSteel ContributorSort of related..in a list flow I can set values to custom fields, but for doc libs, those fields were not available. Is this is known gap?
- Gilbert OkelloIron Contributor
Mikael Svenson, precisely. doc lib custom fields are not surfaced in the condition pane. Had reached out to Microsoft's Merwan Hade. Hopefully this will be fixed soon.
- Gilbert OkelloIron ContributorChris McNulty (Microsoft) confirmed that this is currently not available. Flow will be expanded to support doc libs at GA.
Chris McNulty
- The Flow will fire on every item, but you can branch the Flow conditionally - the actions should have access to the metadata. THerefor, flow starts and the first action branchs into "do something if the value is this, otherwise do nothing".
- Vadivelu_BalusamyIron Contributor
Microsoft flow will retrive the item based on the list/document library choosen by you. It is matter of which action/condition you are trying.
If it is not listed in the condition, we need to see the limitations of each condition/actions. Still we have a issue, some from MS team guide in future.
- Gilbert OkelloIron Contributor
Thanks Vadivelu_Balusamy. Custom fields don't appear in the condition window. So one cannot build a condition based on custom fields.
- Vadivelu_BalusamyIron ContributorYes Exactly. MS flow will be implement the new features soon as we expected.