Add transitions between succeeded and failed

issue3895
review13291002