Set Variable Array Filter

Definition

Description

If event matches Condition, set Variable with index Expression to the value of Expression for the duration of TimeInterval.

 

 

Comments

For each element in the array, a new timer is started whenever a value for that array element is set. After the expiration of the TimeInterval, the entry and value for that array element are automatically deleted to free memory and storage space.

If Variable is missing or invalid, the filter is disabled.

If scope of Variable is System (read only), the filter is disabled.

If TimeInterval is missing, 10 min will be used as default interval.

According to the VariableName and the VariableScope parameters, a full variable name is generated.

 

Example

<filter disabled="False" objectId="setArray" type="SetVariableArrayFilter">
	<parameter autoSetDescription="true" comments="Add comments for Condition..." description="Match all Events" type="Condition">
		<negatePrimaryCondition>false</negatePrimaryCondition>
		<conditionRelation>All</conditionRelation>
	</parameter>
	<parameter type="Variable">ecs0:var</parameter>
	<parameter autoSetDescription="true" comments="Add comments for Expression..." description="1" type="Expression">
		<type>String</type>
		<formatString>1</formatString>
	</parameter>
	<parameter autoSetDescription="true" comments="Add comments for Expression..." description="12345" type="Expression">
		<type>String</type>
		<formatString>12345</formatString>
	</parameter>
	<parameter type="TimeInterval">
		<time>10</time>
		<units>min</units>
	</parameter>
</filter>