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 runs daily.
-
The SAS -Approval Rule Evaluation M/R script has the following deployments:
-
customdeploy_sas_rule_eval_scheduled – This script runs daily during off-hours and processes records that weren't evaluated during business hours.
-
customdeploy_sas_approval_rule_eval – This script runs when a supported record type is created.
Additionally, this script automatically runs again after the previous process of this script is finished. This script validates any remaining transactions for approval rule evaluation and stops when there are no transactions left to process.
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 runs when the SuiteApp receives a valid email response from the approver.
This script is only for Email Approval Log (EAL) records, and EALs can be routed for approval based on your account setup.
-
-
By default, the SAS -Mirror Approval Clean-up M/R runs six hours before the SAS -Approval Rule Evaluation M/R(customdeploy_sas_rule_eval_scheduled) script.
-
To avoid 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