Major incident fields visible and updated 48hours after resolved

Maria Lucia da
Tera Contributor

I need 2 fields on the major incident tab to be visible and editable only by a specific group and for these fields to become mandatory whenever the major incident state is accepted, and remain editable for 48 hours after the incident is resolved. Please, could someone help me?

7 REPLIES 7

@Maria Lucia da  

 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Maria Lucia da
Tera Contributor

Hello @Ankur Bawiskar 

I need these fields to be mandatory and editable for the Incident type group in all states, with the exception of closed and canceled which must appear read only. And when changing to state 6 it should remain editable within 48 hours

@Maria Lucia da  

I already shared logic on comparing the datetime and 48 hours.

You can always tweak it for states such as closed, cancelled etc

When user changes state you can write onChange client script and g_scratchpad will be available in both onLoad and onChange client scripts

what did you try so far and where are you stuck?

What debugging have you done so far?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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