- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2025 04:13 AM - edited ‎02-07-2025 04:17 AM
I need to create seven task templates and two HR criteria for a "Termination Request" record producer in HR Service, with the fulfillment 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
Solved! Go to Solution.
- Labels:
-
Human Resources Service Delivery
- 409 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2025 06:08 AM
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. A similar question was also posted by another user here https://www.servicenow.com/community/hrsd-forum/hrsd-service-activities-task-templates-restriction/t...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2025 06:08 AM
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. A similar question was also posted by another user here https://www.servicenow.com/community/hrsd-forum/hrsd-service-activities-task-templates-restriction/t...