Launch point variables
When you create a launch point, you can declare as many variables as is required. After you create a script, you can add more variables or modify existing variables.
IN
- Passes information into the script.
OUT
- Passes information out from the script.
INOUT
- Passes information into the script and returns information from the script.
INOUT
and OUT
types 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. |