---
title: "Script execution types"
slug: "script-execution-types"
abstract: "Guidance on when to use each script execution type."
---
# Script execution types

There are two script execution types. When deciding on which type to use, consider the following:

- *In Process* - this type of script runs immediately and must only be used when necessary (for example, when immediate feedback is required from the user interface). Avoid setting time-consuming operations as *In Process*. Executing a script in process interrupts the ongoing process until the script has finished. Because there is no way to manage script execution time, this may impact the end-user's experience.
- *In Background* - this type of script runs behind the scenes, meaning in the background and without user interference. By default, the script execution type must be *In Background*.