HRSD - service activities task templates restriction
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2025 05:02 AM - edited ‎02-07-2025 05:05 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2025 06:06 AM
@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.