Creating a Sequence
The sequence routine allows you to create automatically incremented IDs, using a tJava component:
System.out.println(Numeric.sequence("s1",1,1));
System.out.println(Numeric.sequence("s1",1,1));
The routine generates and increments the ID automatically:
![The result is 1 and then 2 in the Run view.](/en-US/studio-user-guide/8.0-R2024-07/Content/Resources/images/routines8-1.png)
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!