Incident "Resolve" button does not populate "closed_at" field.

Joseph Warner
Tera Guru

I noticed that the "Resolve" UI Action button does not populate the closure date (closed_at) field if left blank. Is there an intentional reason for this? I would think this would be straightforward to provide OOTB.

 

JosephWarner_0-1689096042859.png

 

JosephWarner_1-1689096108784.pngJosephWarner_2-1689096519230.png

 

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Closed will be set when the Incident is closed. Resolved is not closed. Not much more to it.

 

Out-of-the-box there is a Resolved at field, which is populated fine upon Resolving the Incident.

 

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

4 REPLIES 4

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Closed will be set when the Incident is closed. Resolved is not closed. Not much more to it.

 

Out-of-the-box there is a Resolved at field, which is populated fine upon Resolving the Incident.

 

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Thanks. My misunderstanding of closed vs resolved.

Sagar Pagar
Tera Patron

Hi @Joseph Warner,

Yes. I agree with Mark. Closed time will be updated when Incident gets closed.

 

To update resolved date time use below scripts:

current.resolved_at = new GlideDateTime();

current.update();

 

Thanks,

Sagar Pagar

The world works with ServiceNow

Like I mentioned, resolved at is already set out-of-the-box.

MarkRoethof_0-1689098590000.png

 

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn