Hi some help please.
I have a document libray that has 3 folders. One of the columns is a choice column called MeetingSubject, most files just sit in the route library, but some files need to be moved to one of the 3 folders.
I have a when a file is created flow that works - but as it can fail when a user as the file open, I wanted to have a flow that runs each day and checks if any of the 3 meeting subject types are still in the route and need to be moved to one of the folders. I thought using swtich would be the simplest way to achieve this. But I cant get it to work.
My flow is this - where am i going wrong?
Hi @JC75 , can you please paste the error description or a screenshot of just the error? It's too small to read in your screenshot, because the screenshot is so big 😃
Hopefully these are clearer - Main error details @items(apply to each 2) [MeetingSubject] is not valid, its is of type 'Object' but is expected to be a value of type 'String, Interger'
Thank you for the screenshot, that's readable at least 🙂 What is this field 'MeetingSubject' that you are evaluating? What type of field is this? I'm guessing it's a dropdown or multi select field or something? Is there no 'MeetingSubject value' in your list of Dynamic Content? From what I can gather that field is not returning a string, so there has to be a deeper lying property that you should reference instead.
Someone more knowledgeable will know the answer to this, I suspect.
Hi the MeetingSubject is a choice column is sharepoint.
I want to run the flow so that it looks at each document in the library and if its been tagged with MeetingSubject: A, B, C it moves the file to the specified folder for each, if not tagged with those values do nothing.
If the MeetingSubject field is a choice column you should be able to choose 'MeetingSubject Value' in your Dynamic Content, I think. That will give you the selected value for your condition.
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Congratulations, the new Super User Season 2 for 2021 has started!
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.