How to Optimize Workflows with a Knowledge Base for Seamless Workflow Management