Get userid, username, role,current inbasket,queue name
var userName = ecm.model.desktop.userDisplayName;
var userId = ecm.model.desktop.userId;
var role = ecm.model.desktop.currentRole.name;
payload.currentInbasket ;
var messageDialog = new ecm.widget.dialog.MessageDialog({
text: "<b>Role</b>: " + role + " - " + userName + " - " + userId
});
messageDialog.show();
var filter= {
"queueName":payload.queueName,
"inbasketName":payload.currentInbasket,
"hideFilterUI":false,
"filters":[
{
"name": "EmpID",
"value":currUser
},
{
"name": "Pointer",
"value":'2'
}
]
};
console.log("inside loop: " +filter);
return filter;
}
Không có nhận xét nào:
Đăng nhận xét