Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Service Operations Workspace - close incident tab lets you close without filling mandatory fields

Rajini2
Mega Sage

SOW - From the interactions record, you create incident, and when you close this incident tab, it lets you close without filling out mandatory fields.  Has anyone addressed this?

We need a check for mandatory fields before closing the incident tab, like the Save button. Or any other better solution?

 

Rajini2_1-1711041475776.png

 

 

Rajini2_0-1711041396283.png

 

 

7 REPLIES 7

nataliya_b
Tera Guru

even you click on create incident, incident record is not created yet.

user needs to click save - save it and user cannot save without populating mandatory fields

if user closes the tab without saving, record is not created

do you want user to enforce saving it?

No, Incident record is created once you click "Create Incident".

nataliya_b
Tera Guru

yes, that's right

possible solution: replace ootb "create incident" with your custom one

in sys_declarative_action_assignment implemented as client script

 g_aw.openRecord('incident', '-1');

I am not familiar with this one, can you guide me?