Changing the filter to retrieve parameters
The data set only supports a single PVALUE
node. You get the node of whatever filter is currently active.
By default, the PVALUE
uses the UOM of the parameter. If you use the FILTERCHANGE
object method, you can switch to the alternate UOM for that filter.
The FILTERCHANGE
object method requires the parameter detail code. Therefore, there must be an initial call to ObjectXML
. If your workflow is already retrieving parameter values, then you may not require that step.
ObjectXML("", "", "HEADER;TPALL")
ObjMethod("", "", "ObjectMethod", "FILTERCHANGE", "TPALL;MY_FILTER")
Dim xml As String = ObjectXML("", "", "HEADER;TPALL")
MessageList(xml)
Return 111