Using function results as statement arguments

You can use a value returned by a function as an argument value in statements. For example, you can parse a string and use the return value as the expected value in a Checkpoint statement.

1. In the Add or Edit Statement dialog box, select Function in the field to use a function in.

2. Click Edit.

The Add Function dialog box opens.

3. Select the function to add.

4. Enter the function arguments. Required fields are marked with an exclamation point.

For some arguments, you can indicate how to interpret the value you enter. You can use text, values, constants, datasheet values, script and repository variables, or functions depending on the field type. See Statement value types.

Note: Some functions allow you to add additional arguments. Click Add Argument to add an Argument field and then enter the argument. To remove an argument, click Remove Argument next to the argument field.

5. Click OK.

The function is added.