The flexible workflow is a general function that allows you to define condition-based workflows for approval processes.