Script execution types

When creating scripts, you need to choose when they are executed:

  • In Process: an In Process script runs immediately.
  • In Background: an *In Background script runs behind the scenes, meaning in the background and without user interference.

Make sure to consider the following:

  • Scripts should be executed In Background by default. For example, executing a script in process interrupts the ongoing process until the script has finished. Since there is no way to manage script execution time, this may impact the end-user's experience of using the product.

  • Select to execute In Process only when necessary. For example, when immediate feedback is required from the UI, the script should be executed In Process.

  • You should avoid setting time-consuming operations as In Process.

Do you have some feedback for us?

If you have suggestions for improving this article,