Name
sn_grc_appr.ApproverEvaluation
Description
No description available
Script
var ApproverEvaluation = Class.create();
ApproverEvaluation.prototype = {
initialize: function() {},
/**
* This method returns array of objects, each object has information related to approval level
* Object is as follows:
* {
* users: list of individual approvers,
* groups: list of group approvers,
* approvalQuery: string which can be used as rule in Ask for Approval action (ex: ApprovesAllU[xyz,abc]OrRejectsAnyU[xyz,abc])
* name: name of the approval level
* level: integer which indicates level of approval
* }
*/
evaluateApprovers: function(approvingRecordTable, approvingRecordSysId) {
return new ApprovalUtil().evaluateApprovers(approvingRecordTable, approvingRecordSysId);
},
type: 'ApproverEvaluation'
};
Sys ID
2a0ec12553b23010da91ddeeff7b12be