Confirmation message when closing an SC TASK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2025 09:32 AM
Hi Everyone,
I'm using the below code for a confirmation popup when a user clicks on Close Task button and it's working.
function onSubmit() {
var action = g_form.getActionName();
if (action === 'close_sc_task' || action === 'aw_close_sc_task') {
var confirmation = confirm('Are you sure you want to close the Task ');
if (!confirmation) {
return false;
}
}
return true; // Continue with form submission
}
Now I want this confirmation pop up to appear on catalog tasks for only one catalog item.
and I want this to work on both default and SOW views.
Thanks in advancce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2025 07:16 PM
Hi @TarunChowdary ,
try setting the UI Type to All
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya