Workflow state flow

Story: https://reciprocitylabs.atlassian.net/browse/CORE-8