RITM and SCTASK Request Information fields not showing fields as mandatory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
Hello,
I have Catalog UI Policies that set certain fields to mandatory, However when the request is submitted and a RITM or SCTASK is created those fields are not showing as mandatory, the asterisk is missing. The asterisk does show in the catalog item when is is being filled out
Catalog Item
SCTASK - the fields that should be mandatory are missing the asterisk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
54m ago
This is expected behavior in ServiceNow. A field cannot be mandatory and read-only at the same time.
In the catalog item, the fields are editable, so the UI Policy can mark them as mandatory and show the asterisk. However, when the RITM or SCTASK is created, those variables are typically read-only, and since the user cannot modify them anymore, ServiceNow removes the mandatory indicator.
Think of it like a form you fill out at a bank. While filling the form, some fields are mandatory (marked with *). But once the form is submitted and printed as a record, those fields are no longer required to be filled because the document is already finalized and cannot be edited.
Hope this helps!
Thank You
Juhi Poddar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hello.
May be it will fix ur issue.
- Navigate to your Catalog UI Policy.
- Ensure that Applies on Requested Items AND Applies on Catalog Tasks are both checked.
- If these are unchecked, the UI policy only works on the service portal/catalog checkout screen.
Please refer below query similar to same as yours
https://www.servicenow.com/community/developer-forum/ui-policy-not-working-on-ritm/m-p/2435098#:~:te...
https://www.servicenow.com/community/developer-forum/ui-policy-is-not-workin-on-ritm-and-catalog-tas....
if your doubt has been resolved, Please mark this as helpful and solution as accepted. 😊
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @DreDay3000,
If I understand this correctly, you want to make the mandatory variables read-only on the RITM and SCTASK?
As @Ankur Bawiskar has mentioned, you need to ensure that you have selected to apply your current UI policy to make the fields mandatory to apply to:
- Catalog Item view
- Catalog Tasks
- Requested Items
To then make the variables read-only on RITM and SCTASK, create a separate UI policy to make the desired variables read-only and apply it to:
- Catalog Tasks
- Requested Items
I was able to get this working in a PDI and have attached some screenshots -hopefully this helps?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @DreDay3000
Check if your Catalog UI Policy is in place ,if yes whether it is applied to requested item and Catalog tasks.
