Ability to rerun a job with same parameters of the last job
The feature I propose is a 'Rerun Command’. I have a ‘crude’ mockup attached. Clicking on Rerun would bring up the Start Runbook blade; but with the parameter values prepopulated with the same values from the previous execution. I can now modify any value, if necessary, or just click OK, to start the job quickly.
I see myself rerunning my runbook with mostly the same values. When I have many input parameters, I have to be very careful not to mess up any values, and what I do now is open two browser windows. Open the previous job’s Input blade in one and copy values from there and paste into the Start Runbook blade. Having this Rerun command will save me a lot of time and prevent chances of mistakes in copy/paste.
Thanks for this feature suggestion!
Christopher Mank commented
I see there has been some renewed activity to the service around some of the other items. This one is huge around job rerun/resubmit, any chance we could get an update on whether this could get added?
Stanley Merkx commented
You could in fact do this quite easily from Powershell:
$JobParameters = (Get-AzureRmAutomationJob -Id $JobId -AutomationAccountName $AutomationAccountName -ResourceGroupName $AutomationResourceGroupName).JobParameters
Start-AzureRmAutomationRunbook -AutomationAccountName $AutomationAccountName -ResourceGroupName $AutomationResourceGroupName -Name $RunbookName -Parameters $JobParameters
But an integrated option in the portal would be greatly appreciated :-).
But given the fact that this idea has been "under review" for more than 4 years, I guess it's not going to happen...