code: public static RestMethodResult invoke(final SecurityContext securityContext, final GraphObject entity, final String source, final Map<String, Object> propertySet, final String methodName) throws FrameworkException {
  
  		try {
  
  			return SchemaMethodResource.wrapInResult(Actions.execute(securityContext, entity, "${" + source.trim() + "}", propertySet, methodName));
  
  		} catch (UnlicensedScriptException ex) {
  			ex.log(logger);
  		}
  
  		return new RestMethodResult(500, "Call to unlicensed function, see server log file for more details.");
  	}
docs: ----- private methods -----