was going to work
Parecía que iba a funcionar el plan pero falló en el último paso.
It seemed like the plan was going to work, but it failed at the last step.
"La última noche"jamás iba a funcionar.
“The Last Night” was never going to work.
— Cuestión de tiempo (2013)
Además no sabía cómo iba a funcionar con la madame.
Besides, I didn't know how things were going to work out with the madam.
— Вор (1997)
I told you it was going to work.
Realmente pensaste que eso iba a funcionar?
Did you really think that was going to work?