4

I am trying to build a simple workflow using the new Flow app in SharePoint Online. Need to find a way to turn on Flow for selected docs in my library, but not all. Have added a mandatory site column 'Activate Update Doc WFlow'using a term set with a Yes/No. Ideally would like to trigger a flow so that when a doc is tagged Yes, a wflow is triggered after 1 year, where the document author (another site column) is emailed a reminder to update the document content. Is this possible?

3

This currently not possible with Flow. Only list triggers expose custom metadata properties. It is currently on the development team's backlog, however, and should be available in the future. You can vote for this feature here, which may make it a higher priority (pure speculation, I have no evidence/proof this will do anything now that it is a planned item).

2

wjervis has the right answer. But to add a bit, you can actually use a "when a new item is created" with a document library, and then you'll have access to all metadata. If you try this, just type in the library display name in the "list name" field. (libraries don't show up on the list, but again, this will work if you manually type it in). But, don't get your hopes up, as while going this route does provide you with the metadata fields, you then won't have access to any of the file level fields, such as the file path, file name, etc.

Edit: sorry, this isn't quite enough info. See my comment below for one more step to get access to the values.

  • I didn't think to type the name of the library in. I saw it missing from the list and stopped there. I am curious about how this will work with Flow, since when you add a document to a library, all the fields will be empty or default initially. I may have done a poor job of describing that, but if you've ever tried to have a workflow trigger on item created in a library, you should understand what I mean. – wjervis May 10 '17 at 18:50
  • Again, don't go down this road. Just tell the customer it can't be done... :) But, you can follow the "item created" trigger with a "get item", passing in the ID from the "item created" trigger. At that point, you will have access to the values. – Mike2500 May 10 '17 at 18:54
0

This feature wasn't available at the time of the question, but right now is usableenter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.