banerjee...@gmail.com
unread,Jun 11, 2015, 2:42:34 AM6/11/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to suppor...@runmyprocess.com, banerjee...@gmail.com
Adding, to my previous post, i am giving the code below which i am using to generate the list,
function set_vb_list_value(vb_name,vb_value){
var a = new RMP_List();
a.fromArray(vb_value);
RMPApplication.setList(vb_name,a);
}
function callbackSuccess(result){
set_vb_list_value("vb_routed_people",result);
}
function callbackFailure(result) {
alert("ko=" + JSON.stringify(result));
}
var entered_amount = parseFloat(RMPApplication.getVariable("proposed_credit_amount"));
var pipelines = [{"$match":{"credit_amount_from":{"$lte":entered_amount},"credit_amount_to":{"$gte":entered_amount}}},{"$project":{"label":"$routed_people","value":"$routed_people"}}];
col_approvalmatrix.aggregateCallback(pipelines,{},callbackSuccess,callbackFailure);
in the code if u see i am using credit amount from and credit amount to, for the getting the list, but i also need to match the pattern of guarantee type and channel group , in this code to get the exact result.
So please help...