When using “Array Slice” on larger arrays and if the specified range exceeds the bounds of the array, the resulting array is filled up with zeros - unlike the description of Array Slice says.
Example:
rule(“Rule 1”)
{
event
{
Ongoing - Global;
}
actions
{
Global.A = Array();
Global.A[39] = 10;
Global.B = Array Slice(Global.A, 34, 10);
}
}
Global.B will be wrong.