Code: Select all
List<UserVariable> variables = (List<UserVariable>) event.getParameter(SFSEventParam.VARIABLES);
// Make a map of the variables list
Map<String, UserVariable> varMap = new HashMap<>();
variables.forEach((var) -> {
varMap.put(var.getName(), var);
});
ISFSArray sfsArrayValue;
sfsArrayValue = varMap.get("e").getSFSArrayValue();
Thanks.