Schedule automatic approvals
You can use the approval step's Timeout and Failure Strategy settings to schedule an automatic approval.
This method works for all Harness approval steps (manual, Jira, ServiceNow, and Custom).
To schedule the automatic approval, do the following:
In the step's Timeout setting, enter when you want the automatic approval to happen. You can't set a specific date, but you can set the timeout based on when the step is initially executed.
You can use:
The maximum is
Set failure strategy
To automatically approve the step when the Timeout setting is reached, use the Mark As Success failure strategy.
- In the approval step, select Advanced.
- In Failure Strategy, select Add.
- In On failure of type, select Timeout Errors.
- In Perform Action, select Mark As Success.
That's it. Now, when the Timeout is reached the approval step will automatically approve.