# ConfigureReload method

Configures the engine's behavior during a reload.

Information note

The *ConfigureReload method* should be run before the *DoReload method*.

## Parameters

| Name | Description | Mandatory | Type |
| --- | --- | --- | --- |
| qCancelOnScriptError | If set to true, the script execution is halted on error.<br>Otherwise, the engine continues the script execution.<br>This parameter is relevant only if the variable *ErrorMode* is set to 1. | Yes | Boolean |
| qUseErrorData | If set to true, any script execution error is returned in *qErrorData* by the *GetProgress method*. | Yes | Boolean |
| qInteractOnError | If set to true, the script execution is halted on error and the engine is waiting for an interaction to be performed. If the result from the interaction is 1 (*qDef.qResult* is 1), the engine continues the script execution otherwise the execution is halted.<br>This parameter is relevant only if the variable *ErrorMode* is set to 1 and the script is run in debug mode (*qDebug* is set to true when calling the *DoReload method*). | Yes | Boolean |

## Access Control

`reload`

## See also

[Configure the reload of a script](https://help.qlik.com/en-US/sense-developer/May2025/csh/engineapi/configure-reload-script)