I have a requirement to have a custom workflow attached to a document libraryany time one is created in my portal. I've been looking and can't find anythingon this issue.
If the document library has a content type, you can attach the worklfow to thecontent type and anytime a document library with the content type is created,the worklfow will be attached to the library.