We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

HR task is created of type collect employee input, saying invalid or not authorized in portal

satya30
Tera Contributor
 
1 REPLY 1

SupriyaWaghmode
Kilo Sage

Hello @satya30 
Please refer the KB article from servicenow https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB2595167

 

also check below points to troubleshoot. 

 

Access Control Overview

Portal access depends on:

  • ACLs
  • HR Criteria
  • Portal eligibility
  • Correct Subject Person mapping

➡️ Failure of any one results in Invalid or Not Authorized.


Troubleshooting Steps-

1. Verify Subject Person Mapping

Check

  • Table:sn_hr_core_task
  • Fields:
    • Subject person
    • Opened for
    • Assigned to

Expected

  • Subject person = Employee (logged‑in user)

Fix

  • Correct the Subject Person
  • Assigned to may remain an HR group

2. Validate HR Criteria Access

Check

  • HR Criteria on:
    • Parent HR Case
    • HR Service

Expected

  • Employee included in Read + Write access

Fix

  • Add user criteria such as:
    • Employee
    • All internal users

3. Confirm Task Is Employee‑Visible

Check (on HR Task)

  • Visible to employee = true
  • Hide from portal = false

Fix

  • Enable employee visibility

4. Confirm Correct Task Type / Template

Check

  • HR Task Type = Collect Employee Input
  • Template is OOTB or portal-enabled

Fix

  • Use standard Collect Employee Input task type
  • Avoid internal-only or custom task templates

5. Validate Portal / Catalog Enablement

Check

  • Associated catalog item / record producer:
    • Active = true
    • Available in Employee Center

Fix 

  • Enable for Employee Center
  • Associate correct portal page

6. Validate HR Profile

Check

  • Table: sn_hr_core_profile
  • Profile:
    • Exists
    • Active
    • Correct user reference

Fix

  • Correct or create HR profile
  • Ensure user is active

7. Check Portal Widget Security (If Custom)

Check

  • Widget roles
  • Page access rules

Fix

  • Ensure role sn_hr_core.employee is allowed
  • Remove restrictive role conditions

Quick Validation Checklist

Subject person = employee
HR Criteria allows employee read/write
Task visible to employee
Task type = Collect Employee Input
HR Profile active
Portal / catalog item enabled

 

If my response helped you, please click on accepted solution SupriyaWaghmode_0-1769436184716.png

 

and consider giving it a thumbs-up SupriyaWaghmode_1-1769436184721.png.

 

This helps others find the solution faster and keeps the community thriving. Thank you for your support! SupriyaWaghmode_2-1769436184722.png

 

Thanks & Regards ,

Supriya Waghmode |ServiceNow Rising Star 2025SupriyaWaghmode_3-1769436184723.png