Enable a workflow

Enables a workflow and sets the state of the workflow to active.