Setting Up Multiple Script Queues or Processors to Process Contract Renewals
You can use multiple script queues or processors to divide contract renewals processing and run it in parallel. As of 2017.2, the SuiteCloud Processors feature supports a new system based on script processors rather than queues. It is possible to change script deployments to use processors instead of queues. With this feature, even queue-based processing runs on processors. For more information about this feature, see SuiteCloud Processors.
You can increase the number of queues or processors available to your account by purchasing SuiteCloud Plus licenses. For information, see SuiteCloud Plus Settings.
The R03 script does not support multiple queues. For deployments that continue to use queues, make sure that all R03 deployments are assigned to the same queue to prevent unexpected behavior.
To run the contract renewal scheduled script on multiple script queues or processors, you can create a new deployment definition. You must be logged in with the Administrator role to create new script deployments.
Take note of the following when creating and setting up additional deployments of the contract renewal script, R05-SS: Create Renewals nightly:
-
Using custom search – You can specify a custom contract search in the Custom Search field on the Parameters subtab of the deployment record. Take note of the following when using custom searches:
-
You must use the same custom search on all R05 deployments. If there is no custom search specified for one deployment, all other deployments must also have a blank Custom Search field.
-
The custom search must be sorted by contract ID in ascending order.
-
-
Renewing specific contracts – If you want to renew specific contracts only, you can use the following fields on the Parameters subtab of the deployment record:
Important:The following parameters should be set only on R05 deployments that are not scheduled. To avoid encountering issues on scheduled runs of the contract renewal script, be sure to remove any values set in these fields after any unscheduled runs.
Alternatively, you can renew contracts on demand using the Renew Now button on individual contract records or the Renew Now: Batch Process page for bulk renewals. For more information, see Renewing a Contract.
-
Contract ID – Specify the ID of the contract that you want to renew. You can specify only one contract ID in this field.
-
Single Contract – Check this box if you want to renew only the contract specified in the Contract ID field. If this box is cleared, R05 will renew contracts starting with the contract ID specified, followed by succeeding contract IDs in ascending order.
-
-
Other parameters – Do not specify values for the other fields on the Parameters subtab. These parameters are used by the R05 script during contract renewal processing.