2.1.2.4. Tips and Best Practices

Based on the above limitations, adhere to the following guidelines for writing scripts to ensure consistent behavior:

  1. Dependencies: The values set by the script should only depend on the input parameters.

  2. Idempotency: If the script is designed to execute multiple times, the model should not change. For example, if the script generates new objects, it must also delete those objects created during the previous execution.