various stages of workflow definitions