To Make Assigned to mandatory in Service Operation Workspace in problem task form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2025 07:01 PM
In the problem task form i want to make the assigned to field mandatory before closing the ticket in service operation workspace How to perform it?
- Labels:
-
Problem Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2025 07:14 PM
Hi @akhila13 ,
You can create a Client Script , On Submit, something like this sample script :
function onSubmit() {
var action = g_form.getActionName();
if(g_form.getValue('state') == '3' && action == 'close_sc_task')
{
g_form.setMandatory('variables.workflow_progression', true);
return false;
}
}
Note: Make sure the view is "sow".
Sandeep Dutta
Please mark the answer correct & Helpful, if i could help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2025 07:19 PM
Hi @akhila13
As per OOB configuration, the 'Assigned to' field is mandatory on the Problem Task form. Please find below the details.
There is a data policy in place which makes the 'Assigned to' field mandatory when the state is one of 'Assess', 'Work in Progress', or 'Closed', and the Close Code is not 'Canceled'.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2025 09:01 PM
it happens out of the box on problem table as per what @J Siva shared.
Is that not working?
Please debug that.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader