Integrity in multiple machine steps

Hi Gurus,

I’m observing a issue in flow studio like below

Let’s say I’ve 2 machine steps (M1 & M2) )which I can’t merge.
Now it has been designed in teh ya M1 -->M2

In M1 i’m using a a flow env connector to create a user and M2 to insert data in table.
I wanted to M1 and M2 execute successfully and if M2 fails M1 not to excute.

How to acieve this?

BR,
Bhaskar