Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

FieldDescription
OrderEnter the order in which context parameters will be evaluated.
NameEnter the name of the context parameter.
Either select an attribute name from the drop-down list, or enter a different name.

Use these values as

Select an option to set these values as:

  • Default Values: the context parameter has a default value, which can be changed interactively.
  • Fixed Values: once set the value cannot be changed.
Expression

Enter the expression for the context parameter. 

Unlike stream action attribute expressions, context parameter expressions can evaluate to a list of values as well as single values.

The context parameter expressions can refer to:

  • data from the dashboard, view or form from which the action was initiated
  • $-variables used in other context parameter expressions on the same action.

Use the notation:

  •  to refer to values on a form:
       _prompt.<Form Field Name>   
  • to refer to attributes of selected records:
       <View name or alias>.<Attribute name or alias>   

The expression can include the message functions debug(message), info(message), warning(message), and error(message), which write messages  to the system console logs. Remember that error(message) function stops the action from completing.

...