Guidelines for SuiteApprovals Scripts
Take note of the following guidelines for SuiteApprovals scripts:
-
The SAS -Mirror Approval Clean-up M/R(customdeploy_sas_mirror_approval_cleanup) script is scheduled to run daily.
-
The SAS -Approval Rule Evaluation M/R script has the following deployments:
-
customdeploy_sas_rule_eval_scheduled – This script is scheduled to run daily during off-hours and processes records that were not evaluated during business hours.
-
customdeploy_sas_approval_rule_eval – This script is triggered when a supported record type is created.
Additionally, this script is automatically retriggered after the previous process of this script is completed. The remaining transactions are validated for approval rule evaluation and the script stops running when no transactions are left.
The processing time depends on the number of transactions processed by the SAS -Approval Rule Evaluation M/R script.
-
customdeploy_sas_approval_rule_evalemail – This script is triggered when the SuiteApp receives a valid email response from the approver.
This script is for Email Approval Log (EAL) records only and EALs can be routed for approval based on the account setup.
-
-
By default, the SAS -Mirror Approval Clean-up M/R is scheduled to run six hours before the SAS -Approval Rule Evaluation M/R(customdeploy_sas_rule_eval_scheduled) script.
-
To avoid any errors, you must maintain the six-hour gap and follow the correct sequence when updating the scripts.
Related Topics
- Setting Up SuiteApprovals
- Creating or Customizing Roles for SuiteApprovals
- Setting Up Script Deployment for Record Types
- Enabling Draft Status for Record Types
- Setting Employee Approval Information
- Setting Approvers' Access to Subsidiaries for SuiteApprovals
- Setting Up Access to Vendor Bills from the Employee Center
- Setting Up Approvers