event manager and state change event added to workflow