...
You cannot directly refer to a context parameter from another context parameter. However, you can refer to a dollar $ variable defined that is defined in another context parameter expression. Make sure the dollar variable will be calculated before the current context parameter expression is evaluated. This can be useful to avoid repeating the same calculation. For example, sometimes you need to use a value in both a stream item action and dashboard rule.
In the action properties → Context Parameters section, there are two checkboxes that affect your context parametersInclude the Include Previous Context Parameters adds adds to the context parameters of your action any existing context parameters from the dashboard. You can overwrite them by including it in your action and giving it a new value.
...
Field | Description |
---|---|
Order | Enter the order in which context parameters will be evaluated. |
Name | Enter the name of the context parameter. Either select an attribute name from the drop-down list, or enter a different name. |
Use these values asNew | Select an option to set these values as:
|
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:
Use the notation:
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. |
...