Creating Page Flows : Setting Variables in Actions

Setting Variables in Actions
You can set the value of a variable by adding a Set operation in the Custom Action Editor. Sets use XPath to identify the variable to set. The Set dialog provides an XPath Ref... button that allows you to easily navigate to and select the variable, or the part of the variable, that you want to set.
For the other side of the Set, the thing you’re setting the variable from, you either use XPath again or, for a complex type, you can use a database query to set the variable.
Use the XPath Ref... button to select something from the incoming message, or from another variable, or one of the ActiveGrid session information variables (ActiveGrid Session Information Variable), such as the sys/selected variable. You can also use XPath arithmetic operations, boolean values, and so on.
By default, a database query populates the variable with all the data from the specified table in the database and returns this data as a list. If this is not what you want, you can add a filter.
The Database Query screen provides a Filter area in which you can select a specific column and choose operators that allow you to build a SQL-like query. If your query returns a single item and you want to reference it as a single item, rather than a list, remember to click the Single Item check box.
Related Topics:
Defining Actions in Page Flows
How Actions Get Data
Creating Actions
Defining Actions in the Custom Action Editor
Declaring Variables in Actions
Calling Operations: Invokes

ActiveGrid
ActiveGrid Documentation
Version 2.0