- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2020 10:06 AM
There is a need to hide the New button of Change Tasks on Change Request only for STANDARD CHANGES.
In Emergency and Normal change, the New button should be visible.
Could someone help what script I need to write in Omit New condition please?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2020 10:31 AM
Script like this, use my instructions above around getting to configure > list control:
var answer = false;
if (parent.type == 'standard') {
answer = true;
}
answer;
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2020 08:38 AM
Hi Allen
Done!
And I have missed adding an updated script that I used.
if (parent.type == 'standard') {
answer = true;
} else {
if (parent.active == true)
{
answer = false;
}
else
{
answer = true;
}
}
BR
Bhim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2025 06:19 AM
Hello Bhim Rao,
I have same requirement, it's not working to my instances level. Please help me in this one.
But my requirement is one Approval filed is Approved state and Change request active is in false condition state i don't want to this new button
Thanks,
D Manohar Reddy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2025 06:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2023 08:33 PM
How to enable scripts in list control? I am not seeing an option to write script.