...
For you to get a better understanding on what it means and how it can simplify your SIL™ usage throughout your Confluence integration, see the following usage examples.
Usage in the scope of the Page
Persistent variables are introduced via the persistent keyword. In order to save space, we do not allow persistent and
...
Info |
---|
Note
|
Usage in the Global Scope
If you need to check State execution between a SIL™ script from one execution to another, you can do this using the persistent variables.
...
Code Block | ||
---|---|---|
| ||
persistent number counter = 0; logPrint("ERROR", "\n**********\" + (counter++) + "\n**********\n"); const number pageId = getPage("PP", "PSC Guide"); setPersistentVar(pageId, "counter", 42); |
Helper routines
There are two helper routines available to ease your work with persistent variables.
...
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|