Date should capture when the incident is resolved

manisha3014
Kilo Contributor

Hi   All....on incident form i have to create a new field called "Last Resolved' on the Incident page which should capture the date when the Incident was last marked as resolved. Please help me in this.

1 ACCEPTED SOLUTION

Harsh Vardhan
Giga Patron

Hi Manisha,



one quick question.


why do you need to capture the date in your last resolved field.


there is OOTB field "closed" you can use that field also to update the exact resolved time of your incident.


just you need to mention the condition in business rule.



current.closed_at = gs.nowDateTime();


below screenshot for your Resolved At field.



find_real_file.png


View solution in original post

25 REPLIES 25

check the script below.



gs.print(gs.now());


gs.print(gs.nowDateTime());



find_real_file.png



find_real_file.png



hope it will help you


Thank you sooo muchhhhh....it worked for me..Thank you so much Harsha Vardhan


Hi Harsha Vardhan,



I have one more requirement Can you please help with this even..Please..There is a field called "Attachment" Which should capture all the number of attachments. on the incident form. Can you pls help me


i can try . tell me what's your exact requirement


in incident form there is a field "Attachment" Which should capture all the number of attachments (count). on that incident form.