Hi,
We have a Sharepoint library where I'm trying to set up an approval system for new documents.
When a file is uploaded, the department value and file type defaults to a blank value. The user will then immediately select the correct department and file type and then I'm hoping to trigger a flow to direct the document to the correct approvals.
The flow did not seem to want to work properly, I keep getting an error for switch type null. So I added in a delay timer to hopefully give the user time to change the department type before the flow carries on. The null error does not appear again, but it can't seem to get past the check status step below. It also tries to run the loop multiple times even though I have only submitted one file to test the approval flow, so i am continuously getting approval requests on Teams until I cancel the flow test. What have I done wrong?
The switch has about 15 different branches so I will just show one branch (QA) below.
There is an email step after the set approval status that I haven't shown.
Hope that is enough information, I am banging my head against an imaginary wall. I am also pretty new to Power Automate so please do tell me if I have missed something glaringly simple. The below was working as a nested loop (so without the variable setting) until I found I needed more than 8 loops.
Regards
Marcy