feat(workflow) - merge support for workflow: added stages and needed relations