Forum Discussion

Gilbert Okello's avatar
Gilbert Okello
Iron Contributor
Aug 12, 2016

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?

 

Merwan Hade, Mike Platvoet

16 Replies

  • JayeshGandhi's avatar
    JayeshGandhi
    Copper 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.

  • Sort 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 Okello's avatar
        Gilbert Okello
        Iron Contributor
        Chris 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".
  • 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. 

     

      • Vadivelu_Balusamy's avatar
        Vadivelu_Balusamy
        Iron Contributor
        Yes Exactly. MS flow will be implement the new features soon as we expected.

Resources