BZ-1035835 - Process diagram not shown or shown incorrect one for not deployed processes

(cherry picked from commit 6924105f9ce6eebea7116a0b18f996318310e0ae)