We currently have a Variable on a Data Card called "Vault Policy" which the resulting property can be the text "Library" or "Project". The resulting text (Library or Project) dictates the Workflow the file should enter. We would also like the file to be prohibited from going to a "Library" or "Project" folder in the Vault depending on which variable is selected. This obviously needs to happen at the initial Check In before the file is stored in the wrong location, any ideas?
So long as the variable is set before the first checkin then you can use "Categories" to disallow the checkin if it is in the wrong location.
As you can not change the Category of a file after it is added to the vault maybe you don't want to use Categories to control "Library" vs "Project". In that case you could use Dispatch to test if the file is in the correct location based on the "Vault Policy" variable and prevent checkin if it is not.