Building Workflows with Flask
Workflows are sequences or groups of repetitive tasks, activities, or small processes that require a complete start-to-end execution to satisfy a particular business process. Each task is equivalent to routinary transactions such as sending emails, running scripts or terminal commands, data transformation and serialization, database transactions, and other highly computational operations. These tasks can be simple sequence, parallel, and complex types.
Several tools and platforms can provide best practices, rules, and technical specifications to build workflows for industry, enterprise, and scientific problems. However, most of these solutions require Java more than Python as their core language. Now, the main goal of this chapter is to prove that Python, particularly the Flask framework, can simulate workflows that utilize Business Process Modeling Notation (BPMN) and also non-BPMN workflows using popular and modern platforms such as Zeebe/Camunda...