Share this page

# Best Practices for Writing Workflow Scripts

This section describes best practices for writing workflow scripts and making sure the scripts run as expected. In addition to the best practices provided in this section, you can refer to the Microsoft Developer Network VBScript Language Reference at http://msdn.microsoft.com/en-us/library/.

The following best practices are described in this section:

General VBScript Tips and Best Practices

- Checking Value Types Before Use

- Anticipating Full Evaluation of Logical Expressions

- Defining Default Behavior for Select Case and If-Then-Else Statements

- Setting Return Values in Functions

ALM Workflow Tips and Best Practices

- Making Sure that Entity Properties Are Set Before an Entity Comes into Focus

- Check if a Dialog Box is Open

- Avoid Defining Duplicate Subroutines

https://admhelp.microfocus.com ALM 8942
Tips to improve your search results... ALM Help Center ALM Help Center ALM Help 16.00-16.0.1 All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: