hi if you want to send a reminder to approver everday then you can use the below snippet.
{
"approvalsMustBeExternal": false,
"autoApprovalEnabled": true,
"reauthorizationEnabled": false,
"requestOnBehalfOfConfig": {
"allowRequestOnBehalfOfAnyoneByAnyone": true,
"allowRequestOnBehalfOfEmployeeByManager": false
},
"approvalReminderAndEscalationConfig": {
"daysUntilEscalation": 2,
"daysBetweenReminders": 1,
"maxReminders": 3,
"fallbackApproverRef": null //You also need to set this if you want to fallback after the escalations are completed
},
"entitlementRequestConfig": {
"allowEntitlementRequest": true,
"requestCommentsRequired": false,
"deniedCommentsRequired": false,
"grantRequestApprovalSchemes": null,
"revokeRequestApprovalSchemes": null
},
"govGroupVisibilityEnabled": false
}
Yes daysUtilEscalation needs to be set to start the reminders to approver. So with the above config the below flow of email notifications would be triggered.
| Day | Action | Escalation or Reminder |
|---|---|---|
| 0 | An initial email is generated asking the designated approver to review the request | NA |
| 1 | No reminder | NA |
| 2 | No reminder | NA |
| 3 | An email is sent to the approver after the period defined in daysUntilEscalation | First reminder |
| 4 | An email is sent to the approver | Second reminder |
| 5 | An email is sent to the approver | Final reminder |
| 6 | An escalation email is sent to Approver 2 (line Mgnr) | First escalation |
| 7 | An email is sent to Approver 2 | First reminder |
| 8 | An email is sent to Approver 2 | Second reminder |
| 9 | An email is sent to Approver 2 | Final reminder |
| 10 | An escalation email is sent to Approver 3 (2nd line Mgnr) | Second escalation |
| 11 | An email is sent to Approver 3 | First reminder |
| 12 | An email is sent to Approver 3 | Second reminder |
| 13 | An email is sent to Approver 3 | Final reminder |
| 14 | An escalation email is sent to the fallback approver | Final escalation |
| 15 | No further emails are sent; request is waiting with fallback approver | — |
To update this you have to use this endpoint Update access request configuration