I have a parent model with a submodel nested in it and tools outside the submodel but within the parent model that connect to the submodel. In the submodel, the first tool is "create geodatabase". In the parent model, the last tool deletes the gdb. When the model is run (not edit), it looks like the model validates before running and comes up with the error that it cannot find the gdb to delete at the very end. Obviously this is because the gdb has not yet been created at the beginning of the model. Is there any way to get around this where it would not validate before running?
Well, the big question is, do you have the created geodatabase set as an output parameter of the submodel? If so, you should (at least in theory) be able to link that submodel output within the parent model to the delete tool and it should validate. Don't use direct file paths if you can connect tools.
I moved this comment to an answer so you can mark it as accepted and it'll remove the question from the "unanswered questions" list on the site.