i need to mandatory Additional Comments but it's i need to mandatory Additional Comments work

EdenOrZedaka
Tera Contributor

i need to mandatory Additional Comments (journal input type) when state = close incomplete (value = '4')

i try to use  ui policy with ui action, i try to use client script, but it's doesn't work, the field doesn't become mandatory.

what can be the sulotion?

3 REPLIES 3

GlideFather
Tera Patron

Hi @EdenOrZedaka,

 

if the Catalog task is Closed Incomplete then it's no longer possible to update the ticket. Why would oyu want to add additional comments to inactive records? It doesn't make any sense :((

_____
100 % GlideFather experience and 0 % generative AI

Ankur Bawiskar
Tera Patron

@EdenOrZedaka 

if the complete form is readonly once state = Closed incomplete, how would user enter comments?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Tanushree Maiti
Mega Sage

Hi @EdenOrZedaka ,

It is working code/configuration.. implement this way- 

1)Create UI policy on sc_task

TanushreeMaiti_0-1771510857166.png

 

2)Go to Script tab, 

If execute True, Write ur code as per your requirement.

Sample:

TanushreeMaiti_1-1771511029724.png

 

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: