![]() Within one workflow state, all actions combined cannot exceed 1,000 usage units. (also referred to as Custom Action in SuiteFlow) SuiteScript 2.x Workflow Action Script Type Workflow Action Scripts (SuiteScript 1.0) ![]() Regardless of the 1,000 usage unit limit for user event scripts, you should design your scripts so that they are responsive to users, otherwise user experience may be impacted. Regardless of the 1,000 unit limit for Suitelets, you should design your Suitelets to be responsive to users, otherwise user experience may be impacted. For example, a Suitelet that calls record.create(options) and http.get(options) consumes from 12 to 20 usage units (depending on the record type for record.create(options)) out of a possible 1,000 usage units available. Within one Suitelet, all actions combined cannot exceed 1,000 usage units. SuiteScript 2.x SDF Installation Script Type A map/reduce script has built-in yielding and can be submitted for processing in the same ways as a scheduled script. SuiteScript 2.x does not have a method to allow you to set recovery points or provide a yield to avoid exceeding the allowed governance for a scheduled script. If you have a scheduled script with potentially long execution times, you should consider using a map/reduce script instead. For example, a scheduled script that includes two calls to ansform(options) and one call to nd(options) consumes from 24 to 40 usage units (depending on the record type for ansform(options)) out of a possible 10,000 usage units available. Within one scheduled script, all actions combined cannot exceed 10,000 usage units. For more information, see the help topic SuiteScript 2.x RESTlet Governance ![]() The SuiteScript governance model for RESTlets tracks usage units on the API level and the script level. The limit is 1,000 usage units per record or execution of the script. For more information, see SuiteScript 2.x Map/Reduce Governance. Instead, isolated components of the deployment, such as the usage units used by a single method invocation, are regulated. There are no limits imposed on the full duration of a map/reduce script deployment instance. Map/reduce scripts are available only in SuiteScript 2.x. Usage units are not shared by all the client scripts associated with a form or record.įor information on record- and form-level client scripts, see Record-Level and Form-Level Scripts. If an account has one form-level client script attached to a form and one record-level client script deployed to a record (which may be associated with a form), each client script can total 1,000 usage units. The limit is 10,000 usage units per execution.Ĭlient scripts are metered on a per-script basis. SuiteScript 2.x Bundle Installation Script Type Bundle Installation Scripts (SuiteScript 1.0)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |