problem can be created without mandatory field
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2024 02:21 AM
The Problem:
In CSM Workspace, when users click on the "Create Problem" button from a case, the problem record is instantly created without any intermediate steps.
Effect:
This allows users to create problem records without filling in any mandatory fields, resulting in numerous empty problem records.
Cause:
Out-of-the-box behavior allows the creation of problem records directly without enforcing any validation or requiring mandatory fields before saving.
Is there a way to add a validation step or enforce the completion of mandatory fields before the problem record is created?
script used in the ui action :
new sn_cs_sm.ServiceManagementProblemUtils().createProblemFromCase(current, action);
and for the. workspace :
function onClick(g_form) {
var newRecord = new GlideRecord("problem");
newRecord.initialize();
action.openGlideRecord(newRecord);
} dialog.render();
thank you
0 REPLIES 0