Map Operations Rule
A Data Map Operations rule allows you to add, remove, or change a data map entry A name (key) and value pair in the data map for a job.. It does not return a value.
Note: Each action must have a name by which it is identified, and this name must be unique within the form in which it appears. This name can be modified in the Name field of the action and is displayed in View > Actions after the action has been created.
The following are the properties for a Map Operations rule.
Important! Content in an action or rule is case sensitive.
Value | Description |
---|---|
Name |
The name for the action or rule. |
Trigger source |
The field that is used in conjunction with a trigger event to interactively run the rule. For example, a button that runs a query when clicked, a prompt that runs a query when submitted, or a form that runs a query when loaded. |
Trigger event |
The event that is used in conjunction with the trigger source to run the rule. For example, clicking a button, entering text at a prompt, loading a form, or submitting a job. |
Priority |
The order in which the rules that have otherwise identical triggers are run. Trigger values are compared only if the triggers have the same trigger source, trigger event, and trigger key (if any). The type of trigger source is irrelevant. The trigger source with the lowest value for priority is run first. |
Conditional |
Determine whether to perform an action based on the result of a comparison of values or the result of a logical operation.
|
Data ref | The name of the data map entry to be added, removed, or changed in the data map. |
Value |
The value of the data map entry to be added, removed, or changed in the data map. |
Operation |
The operation to perform on the data map entry.
|
Literal value |
The Literal Value attribute is a required Boolean value that indicates whether the value in the data map entry specified by the operation should be treated as a literal value and used in its current form, or whether the names of data map entries in the value should be resolved to values in the data map.
|
Data type |
A description of the data returned by or referred to by the data map entry |
Merge policy |
For an action, always select the default value, mergeAll. |
Action |
For an action that can return a value, this property determines whether that value remains in the data map when the action finishes running and returns control to its parent rule. The default value is override. |
Tip: If you require more complex behavior than is available using a Map Operations rule, consider using a business rule that includes a mapOperations business rule component. For more information about business rules, see Implementing Business Logic.