Name
sn_hr_mobile_agent.hr_CoreAgentMobileUtils
Description
No description available
Script
var hr_CoreAgentMobileUtils = Class.create();
hr_CoreAgentMobileUtils.prototype = {
initialize: function() {},
refineCaseAllTasksQuery: function(current, parent, level) {
var taskIds = [];
try {
var todoUtils = new sn_hr_core.hr_CaseChildTodoUtils(parent.sys_id);
taskIds = todoUtils.getCaseChildTaskTodosFiltered(sn_hr_core.hr_CaseChildTodoUtils.ALL_TODOS, level);
current.addQuery("sys_id", taskIds);
} catch (ex) {
current.addQuery("sys_id", taskIds);
gs.error("HR Case All Todos error " + ex.message);
}
},
type: 'hr_CoreAgentMobileUtils'
};
Sys ID
dc836acbc30310105a93d56bc3d3ae9f