Added in use of stash with vminstant state changes
Fixes to ensure workflow endpoint correctly processes messages