Global Variables
Description
Global variables can be used to store the data string throughout the experience. We can also perform mathematical operations on the global variables using actions.
Events
Actions
Increment: This action increments the global variable value by 1.
Decrement: This action decrements the global variable value by 1.
Increase By: This action increments the global variable by the target value.
Parameter
Amount: This is the target value
Decrease By: This action decrements the global variable by the target value.
Parameter
Amount: This is the target value
Multiply By: This action multiplies the global variable by the target value.
Parameter
Amount: This is the target value
Divide By: This action divides the global variable by the target value.
Parameter
Amount: This is the target value
Raise To The Power: This action calculates the global variable’s power value to the target value.
Parameter
Power: This is the target value
Set To: This action sets the target value to the global variable.
Parameter
Value: This is the target value
Append: This action appends the global variable by the target value.
Parameter
Value: This is the target value
Calculate: This action calculates the target value if it's in a formula format. For example, if the value is
Parameter
Value: This is the target value
Backspace: This action performs a backspace on the target value.
Restore To Original Value: This action restores the global variable to its initial value.
Get Time In Epoch: This action returns the current time in epoch format.
Get Time In Epoch Milliseconds: This action returns the current time in epoch milliseconds format.
Get Date in Date: This action returns the date of the current date.
Get Date in Month: This action returns the month of the current date.
Get Date in Year: This action returns the year of the current date.
Restore All Global Variables: This action restores all the global variables to its initial value.
Get Device Licence Key: This action returns the license key of the device.
Get Device Name: This action returns the device name.
Get Time Hours: This action returns the hour value in time.
Get Time Minutes: This action returns the minute value in time.
Get Time Seconds: This action returns the second value in time.
Check If XML Backup Exists: This action returns true/false based on the previous action of backup
XML
Parameter
XML Backup Name: Name of the backed XML
Find Pattern In String: This action returns the position of character in the given string.
Parameter
String To Search: Variable which contains the string value
Pattren: Character to find in the string
Check Length Of String: This action returns the length of the target string.
Parameter
Source: This is the target value
Create Substring: This action creates the substring using the given start and end position.
Parameter
Start Position: This parameter contains the start position.
End Position: This parameter contains the end position.