CenterView Help

curValue

Function: curValue

Returns the current value from a named Sequence. This is generally the same as the last value returned by nextValue.

Syntax

curValue(sequence)

ArgumentTypeDescription
sequenceStringThe name of the sequence. This must be a literal string matching the name of an existing sequence - an expression resulting in a string will not be accepted.

Examples

curValue('order_id')

curValue() returns the current value in the sequence

[curValue('order_id'), curValue('order_id')]

curValue() returns [1,1]

See Also

Please let us know if we could improve this page feedback@phixflow.com