HRSD - service activities task templates restriction

Afroze Shaik
Tera Contributor

Hi team,

I have created seven task templates and two HR criteria for a " Request" record producer in HR Service, with the fulfilment type set to "Service Activities."

The task templates should be restricted based on HR criteria, where four tasks are visible under one criterion and the remaining three under another.

 

Best Regards,

Afroze

1 REPLY 1

Sandeep Rajput
Tera Patron
Tera Patron

@Afroze Shaik Did you get a chance to explore sn_hr_core.hr_Criteria script include. It is an OOTB script include which contains method to evaluate HR Criteria.

You can use evaluateById : function(criteriaId, userId, simulation, caseId, useCache) to evaluate a criteria for a user.