conditions = restriction.getConditions();
conditions = restriction.getConditionsDescriptor();
    private boolean isActionAvailable(ActionDescriptor action, Map transientVars, PropertySet ps, int stepId) throws WorkflowException {        if (action == null) {            return false;        }        RestrictionDescriptor restriction = action.getRestriction();        List conditions = null;        if (restriction != null) {            conditions = restriction.getConditions();        }        return passesConditions(null, conditions, Collections.unmodifiableMap(transientVars), ps, stepId);    }