Hi, I have a workflow on a document library that sends to a panel of approvers based on what folder the document is in. I therefore need to determine the folder name for the switch.
Any ideas how to do that?
I'm thinking a variable set to absolute encoded URL and some kind of substring function but can't work it out. Thank you!
Solved! Go to Solution.
Thank you, that is a good idea.
The folders are created automatically via doc set creation and each folder has a different approver route.... and then this is different depending on the 'Asset/Department' which I'm setting as a variable to determine the approver groups. Really looking forward to getting this workflow finished... is also in Spanish language which is interesting.
I ended up using regular expression (extract) - [^/]+(?=/[^/]*$)
Thanks again!