Additional comments Post button is not visible on sc_task form when state is ON-HOLD.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 02:12 AM
Hii All,
In SC_TASK when we change the state to ON-HOLD at that time Additional comments/Work Note POST button is not visible. so can anyone help me on that.
Thanks,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 07:52 AM
Is additional comment or work notes mandatory when changing the state to on hold? This would be the only reason I can think of that would make the post button disappear. As you want the user to save or update the record so on hold as well as the mandatory comments/work notes are filled in.
If you were able to fill them in and click post then tried to save the records it would error out saying comments or work notes are mandatory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 11:43 PM
yes @Brian Lancaster ,Additional comments are mandatory when the state is ON-HOLD,
but here the requirement is we should see the Post button when we add the Additional comments on ON-HOLD State.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2024 07:26 AM
Are you using a UI Policy to make additional comments mandatory? If so remove that UI Policy and replace it with a client script. Code below. This will make comments mandatory only when the state changes to on hold (you will loose the post button on this one for the reason I state above) but any other time you can into a on hold catalog task you will have the post button.
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {
return;
}
//Type appropriate comment here, and begin script below
if (newValue == 8){// This is from incident as we use the out of the box pending on catalog task. Please verify the value of your state.
g_form.setMandatory('comments', true);
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2024 04:41 AM
Hello Brian!
I use client script in setting the additional comments to mandatory. It worked before but upon checking now it hides the post button..