I have a MDT server that needs to run a script. This script is potentially problematic and sometimes errors out with an access denied to a network resource.
It looks like I can handle this with the 'continue on error' option to move on to the next step.
I would like to manipulate the current step attribute in some fashion if this failure occurs to rerun the previous step, effectively rerunning my problematic script.
How can I do so? My guess would be to set a variable back to the desired step name but I'm not sure the exact logic to do so, if there is anything available to see the status of the last step executed, etc. The documentation I've looked at has been lacking.