The CreatorCon Call for Content is officially open! Get started here.

unless I create a record in the embedded list it should not allow me to close the ticket.

kiran kumar m1
Tera Contributor

in my incident form i have a section logs in which I have a embedded list ( incident->logs), so now whenever i try to close my ticket it should make the embedded list mandatory to create a record in it , unless I create a record in the embedded list it should not allow me to close the ticket.

2 REPLIES 2

Ranjit Nimbalka
Mega Sage

Hi @kiran kumar m1 ,

Below thread on community might help you :-

 

https://www.servicenow.com/community/developer-forum/i-am-across-a-requirement-where-i-need-to-make-...

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,
Ranjit

 

AakashG0904
Tera Expert

Hi @kiran kumar m1,

Hope you are doing well.

 

Proposed Solution

As a solution, you just need to create a new "Data Policy" to achieve this requirement. It will be very simple and similar to what we are already having in an "Incident" Table to make the "close code" and "close notes" mandatory before saving a form. You just need to follow the same. Attaching snapshot of an existing Data Policy for the reference.

 

Existing Data Policy Sample

AakashG0904_0-1712750842255.png

AakashG0904_1-1712750863693.png

 

If you find this information/knowledge/solution as helpful, please do not forget to mark the same as Helpful and Accepted as a Solution.

 

Thanks

Aakash Garg

ServiceNow Developer