restartConfig()

The restartConfig() function restarts the processing flow without submitting the configuration.

Syntax

Use this syntax for the restartConfig() function.

            restartConfig({
    product: number,
    copy: true | false
}); 

          

Parameters

Note:

All parameters are optional. If all parameters are omitted, the processing flow will restart using the same product and all questions and answers will be reset.

The restartConfig() function can take the following parameters:

  • product - The product ID used when restarting the processing flow.

  • copy - Copies the configuration to the next processing flow. This parameter is false by default, and you can omit it. If false, questions and answers will be reset. This parameter is disregarded if the product parameter is set.

Examples

See examples for the restartConfig() function.

Restarting the Processing Flow Using a Different Product

This example shows how to restart the processing flow using a different product.

              restartConfig({
    product: 13,
    copy: false
}); 

            

If you omit all parameters, the processing flow will be restarted using the same product and all questions and answers will be reset. See the example below:

              restartConfig(); 

            

Related Topics

General Notices