Summary

This command retrieves a number value from the specified ‘path’. The path must specify a value that resolves to a number.


Attributes

  • path (required)
  • type (not required) – This attribute specifies the data type. This parameter does not need to be added by the designer but will be added by either the compile or decompile process automatically and it does appear in many examples.

The previous value attributes can also be used with this command.

Parameters

  • none

Example

<script scriptId="cavitat1">
    <body>
        <s:alert>
            <s:expression>
                <s:or>
                    <s:ne>
                        <s:stringPath path=":value"/>
                        <s:string value="Y"/>
                    </s:ne>
                    <s:or>
                        <s:lt>
                        
                            <s:numberPath path="/context.patid:value"/>
                            
                            <s:number value="2001"/>
                        </s:lt>
                        <s:gt>
                        
                            <s:numberPath path="/context.patid:value"/>
                            
                            <s:number value="2498"/>
                        </s:gt>
                    </s:or>
                </s:or>
            </s:expression>
            <s:correction>
                <s:string value="optional"/>
            </s:correction>
            <s:text>
                <s:string value="'Were cavitations present' response is 'Yes', however the 
                subject ID is 2001-2498.  Please clarify."/>
            </s:text>
        </s:alert>
    </body>
    <target typeId="cavitat_" when="preprocess" shouldReconcile='true' />
    <dependent path="/context.patid"/>
</script>



Need more help?

Please visit the Fountayn Contact Information page.