I have a custom workflow, but I want to start the workflow and if exists a currently workflow created (and not completed) in the same document that I try to create a workflow, give a warning message. Where I can put this and how can I make this verification?