Introduction
A workflow is a series of activities necessary to complete a task. In other words, a workflow consists of a sequence of states connected by transition. Each state has a specific step before it and a specific step after it. In general, it's a linear-defined process, which describes the flow between states. The term workflow indicates how people do their work and how they handle information. To understand workflow definitions, let's define its specific vocabulary:
State: This term describes a unique state that will execute a specific action (or many actions) on a work item. For instance, new, approved, commit, done, remove, and so on.
Task: This defines an activity to be done on a work item between states.
Transition: This defines how a transition rules from one state to another. It means that transition describes a list of tasks, which have to be done to transform items from one state to another.
Liferay Portal includes a workflow engine called Kaleo. This engine provides functionalities...