Rules editor: Difference between revisions

Jump to navigation Jump to search
Line 578: Line 578:
=== StringList type ===
=== StringList type ===


StringList is special type of variable that you can define. It represents a list of variables. In editing state you can’t initialize it right away, you have to add items in to the StringList using the AddItem step.
StringList is a special type of variable that you can define. It represents an array or list of string variables. It has only a limited set of operations available.
 
To populate a StringList variable, you can either assign it a different string list or add strings using the AddItem step.


{| class="wikitable"
{| class="wikitable"
Line 588: Line 590:
|-
|-
| '''Step''' || MyStringList || AddItem || Gama
| '''Step''' || MyStringList || AddItem || Gama
|}
To work with the content of the array, use the Element At operation and specify the index of the string in the array.
{| class="wikitable"
| '''Variable''' || String || SingleItem || Element At || MyStringList || 1
|-
| '''If'''  || SingleItem || ContainsData
|-
| '''Then''' || Do stuff...
|}
|}


Navigation menu