Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2024 01:59 AM
I want to omit the 'New' button under the change tasks tab of a change request if the state of the change request is "Review." I am using the code below but it seems to be not working:
Any ideas or suggestions?
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2024 02:09 AM - edited 04-30-2024 02:12 AM
HI @Jeremyramirez12 ,
TRY
var answer;
if(parent.state == '0') { //pass the state value instead of label text , Pass the value as per your system . in my sys its 0
answer = true;
}else {
answer = false;
}
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2024 02:21 AM
Great to know. However, same were the comments before as well where you need to pass value instead of label.