Help with Changing Metadata of Files in a Document Library

%3CLINGO-SUB%20id%3D%22lingo-sub-2163404%22%20slang%3D%22en-US%22%3EHelp%20with%20Changing%20Metadata%20of%20Files%20in%20a%20Document%20Library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2163404%22%20slang%3D%22en-US%22%3E%3CP%3EHere%20is%20the%20flow%20I%20am%20trying%20to%20make%3A%3C%2FP%3E%3COL%3E%3CLI%3EIf%20a%20file%20is%20created%20or%20modified%20in%20this%20folder%3C%2FLI%3E%3CLI%3Elook%20at%20the%20content%20type%20of%20the%20document%3C%2FLI%3E%3CLI%3Eif%20it's%20a%20Campaign%20document%20then%20look%20at%20the%20Campaign%20End%20Date%3B%20if%20not%20%3D%20end%3C%2FLI%3E%3CLI%3EIf%20the%20campaign%20end%20date%20is%2030%20days%20after%20today%20then%3A%20change%20content%20type%20to%20archive%20document%20and%20change%20the%20archive%20date%20to%20today%20-%20if%20not%20%3D%20end%3C%2FLI%3E%3C%2FOL%3E%3CP%3EPlease%20see%20screenshots%20for%20what%20I%20have%20so%20far%20and%20advise.%26nbsp%3B%20Thanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2163404%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Contributor

Here is the flow I am trying to make:

  1. If a file is created or modified in this folder
  2. look at the content type of the document
  3. if it's a Campaign document then look at the Campaign End Date; if not = end
  4. If the campaign end date is 30 days after today then: change content type to archive document and change the archive date to today - if not = end

Please see screenshots for what I have so far and advise.  Thanks.

0 Replies