Launch point variables

When you create a launch point you can declare as many variables as required. After you create a script, you can add more variables or modify existing variables.

When you declare a variable you must specify it as one of the following types:
Passes information into the script.
Passes information out from the script.
Passes information into the script and returns information from the script.
The script can modify only the INOUT and OUT type of variables. Modification of IN variables in the script has no impact outside the script.

When you create a script with an object launch point, you specify one or more events and the event context when the script is activated. If a script runs after the business object is saved, or after the business object is committed to the database, the only relevant variable type in the context is the IN variable type.

Variables have bindings that identify the source of the value for the variable. Variables can have a global binding value that is common to all launch points that are associated with the script. You can override the global binding value for specified launch points. The following table lists the binding types and values that you can use:

Binding type Variable binding value
ATTRIBUTE The name of an attribute of a business object that provides the value for the variable.
MAXVAR The name of a system control value that provides the value for the variable.
SYSPROP The name of a system property that provides the value for the variable.
LITERAL If you use a literal type of binding, you must specify the value for the variable in the Binding Value field. You must also specify the data type in the Literal Data Type field.