feat(workflow) [SD-1216] Wired the submitted state

This wasn't working as expected, it returned None always so I changed it.