Summary

This command sets a value for a dynamic status. You must provide a record, name and value. For dbp 7.0.0 this is not a StringCommand, but it will be modified for the next version to return the value of the dynamic status that was set for the record.


Attributes

  • none

Parameters

  • object – (ClickObject) This is the object (currently only DCRecord is supported) to set the status on.
  • name
  • value

Example

<script scriptId="setTrackingFilter">
    <body>
        <s:if>
            <s:eq>
                <s:numberPath path=":value"/>
                <s:number value="0000"/>
            </s:eq>
            
            <s:setDynamicStatus>
                <s:object>
                    <s:record />
                </s:object>
                <s:name>
                    <s:string value="tracking" />
                </s:name>
                <s:value>
                    <s:string value="screenFailure" />
                </s:value>
            </s:setDynamicStatus>
            
            <s:if>
                <s:ne>
                    <s:numberPath path=":value"/>
                    <s:number value="0000"/>
                </s:ne>
                
                <s:setDynamicStatus>
                    <s:object>
                        <s:record />
                    </s:object>
                    <s:name>
                        <s:string value="tracking" />
                    </s:name>
                    <s:value>
                        <s:string value="randomized" />
                    </s:value>
                </s:setDynamicStatus>
                
            </s:if>
        </s:if>
    </body>
    <target typeId="patid" when="after" />
</script>



Need more help?

Please visit the Fountayn Contact Information page.