The act_threshold variable is the value of the threshold attribute, which is the defined threshold value, on the <computedThreshold> or <eventCountThreshold> element of a threshold rule.
The act_threshold variable is valid only within a threshold rule.
int threshold = act_lib.getIntVariable(IACTLibrary.THRESHOLD);