fix(cockpit): variable scope with TransitionInst

- set correct variable scope for variables in Transition Instance

related to #CAM-1196