Powershell - Run again if error comes

could you please help me? @admin @ulrich ?
With the RUN_TEST_CASE error, I really need to do this one. I only need it to be re-run if there is no log file. I don’t want it to be run 24/7.

Please, help me with this.