- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2024 10:13 PM
Hello,
I have a question i need to have Assigned to and Assignment groups are hidden on creation. and after creation Assigned to and Assignment groups are visible again and are mandatory.
So how can i Do the UI policy in the creation , what conditions exactly should i put ? because when i put any condition it appears also in the Open(New) not only create New. Also what conditions shall i put in after creation to define Open(New) , in progress , resolved and so on. i need only the conditions for UI on creating an incident , and conditions after creating an incident for anything to appear , disappear , mandatory..
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024 05:56 AM
Hi @RullaD ,
This UI Policy will work during creation of Incident. After creation, Assignment Group and Assigned to will be visible and will appear as mandatory.
Please mark as Accepted Solution if this solves your query .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2024 07:34 AM
@RullaD Check if there are any UI policy or Client script which makes these fields hidden.
Before :
Create or modify existing onLoad Client Script to set these fields "Assignment Group" and "Assigned To".
For New Record :
For Existing Record :
Note:
1. This script will make these two fields mandatory in all states as its onLoad. If you want to change it accordingly, modify the script to exclude the states.
2. This script will make the field mandatory even if the value is cleared and doesn't proceed further.
3. If there are any conflicts, then it needs to be validated from your instance.
Please mark this as helpful and accept it as a solution if this resolves your query.
Thanks,
Sujatha V.M.
Sujatha V.M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2024 08:23 AM
Hello,
Can it be done through UI Policy ? i need ti differentiate between the create new and the open new field , how can i do this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 07:48 AM - edited 04-15-2024 10:26 AM
Hi @RullaD,
I found a UI Policy named "Set Caller field mandatory state for new records", that I copied and created a UI Policy named "Hide Assignment fields for new records". It has no conditions, 'Run scripts' set to true.
(Edited to correct 'assigned_to'.) Testing shows the above works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024 04:57 AM
Hello @RullaD
correct My understanding
u want the Assignment group and Assigned To fields Hidden at the time of creation , correct ?
if that is the case we can use the condition , created is empty in UI policy, and make the fields assigned to & Assignment group as Visible False in Ui policy Action tab.