Versions Compared

Key

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

...

Code Block
xml
xml
<inputs>
        <region type="string">
            <default-value>Central</default-value><sources>
            <sources>    <request>REGION</request>
            <request>REGION</request>    <runtime>aRegion</runtime>
            <runtime>aRegion<</runtime>sources>
            </sources><default-value>Central</default-value>
         </region>
    </inputs>

This example indicates that the Action Sequence document requires a parameter named region (case sensitive.)  When executed, the Runtime Context will first look to see if there was a parameter named REGION in the request.  If the Action Sequence was launched from a URL, and there was a parameter REGION=xxx specified, than this value (xxx) will be substituted for the region input.  If it doesn't find the parameter in the request, it will look in its own runtime data for a parameter named aRegion.  If it doesn't find it in the Runtime Context Data, the value Central will be used.  The Runtime Context always looks in the sources in the order in which they are specified and takes the default last.  If no default was specified, then the Action Sequence would throw an error and return.  

...