I want to launch a sequence from LUA code and found this documentation
Execute a subsequence without variables
subsequence = variable("Subsequence")
sequence(subsequence.id)
How do I get the subsequence.id to pass to this code?
I want to launch a sequence from LUA code and found this documentation
Execute a subsequence without variables
subsequence = variable("Subsequence")
sequence(subsequence.id)
How do I get the subsequence.id to pass to this code?
Couple of ways you could try
Use the WebApp API to get all sequences and then filter the one you want. Sequence id will be in the JSON top-level of each Sequence object.
In the Web App Sequences tab select your Sequence and then press the toggle celery script view button (adjacent to the Settings symbol and the “id”: you need is at the top.
Nice. The celery script is an easy way to get it.