- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
I created new HR Service for offboarding in two different instances exactly the same way
in first instance the subject person is not defaulted
and in second instance it is getting defaulted to opened for
How can I clear the subject person field while creating the case on the UI Page
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @TahiraS ,
Although the Do Not Default Subject Person option exists, it does not work when using the Case Creation UI page because the system still populates the field during UI rendering. To prevent this, remove the Subject Person field from the Case Creation form using sn_hr_core_config_case_creation. For finer control or more complex logic, consider customizing the hr_CaseCreation Script Include....
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Figured it out
The case creation configuration page by default (without picking an HR Service) shows Subject Person field. That needs to be removed from tab Case Creation. After that when HR Service is picked, it will show the Subject Person (if its in the case creation configuration) and it will be blank if the case option says: Do Not default Subject person.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @TahiraS ,
Although the Do Not Default Subject Person option exists, it does not work when using the Case Creation UI page because the system still populates the field during UI rendering. To prevent this, remove the Subject Person field from the Case Creation form using sn_hr_core_config_case_creation. For finer control or more complex logic, consider customizing the hr_CaseCreation Script Include....
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Figured it out
The case creation configuration page by default (without picking an HR Service) shows Subject Person field. That needs to be removed from tab Case Creation. After that when HR Service is picked, it will show the Subject Person (if its in the case creation configuration) and it will be blank if the case option says: Do Not default Subject person.