In your graphs you are also using sequences. You can use them in
CTL by specifying the name of the sequence and placing it as an argument in
the sequence()
function.
Warning | |
---|---|
Remember that you should not use the functions shown below
in the |
You have three options depending on what you want to do with the sequence. You can get the current number of the sequence, or get the next number of the sequence, or you may want to reset the sequence numbers to the initial number value.
See the following options:
sequence(<sequence name>).current()
sequence(<sequence name>).next()
sequence(<sequence name>).reset()
Although these expressions return integer values, you may also want to get long or string values. This can be done in one of the following ways:
sequence(<sequence name>,long).current()
sequence(<sequence name>,long).next()
sequence(<sequence name>,string).current()
sequence(<sequence name>,string).next()