Incident Module

RullaD
Tera Contributor

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.. 

1 ACCEPTED SOLUTION

Community Alums
Not applicable

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.

Sakshi17_0-1713358439089.png

Please mark as Accepted Solution if this solves your query .



View solution in original post

5 REPLIES 5

Sujatha V M
Kilo Patron
Kilo Patron

@RullaD Check if there are any UI policy or Client script which makes these fields hidden. 

 

Before : 

 

SujathaVM_0-1713104851086.png

 

Create or modify existing onLoad Client Script to set these fields "Assignment Group" and "Assigned To". 

 

For New Record : 

 

SujathaVM_1-1713104903369.png

 

For Existing Record : 

 

SujathaVM_2-1713105004908.png

 

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.

 

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

RullaD
Tera Contributor

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 ? 

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.

 

Screenshot 2024-04-15 132512.png

 

(Edited to correct 'assigned_to'.)  Testing shows the above works.

vamsi krishna8
Tera Contributor

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.

vamsikrishna8_1-1713354989483.png

 

vamsikrishna8_0-1713354924404.png