- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 09:14 AM
Hi All,
I want to show new button of change task in change request record only when change request is new. I tries omit new button and script but its not working. Its hiding the button in all states of change request
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 09:16 AM - edited 03-04-2024 09:17 AM
Hi,
Remove the check form 'omit new button' and only use the script (Omit new Condition).
Because you have checked the omit new button, it doesn't evaluate the script and just hides it completely.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 09:16 AM - edited 03-04-2024 09:17 AM
Hi,
Remove the check form 'omit new button' and only use the script (Omit new Condition).
Because you have checked the omit new button, it doesn't evaluate the script and just hides it completely.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 09:18 AM - edited 03-04-2024 09:18 AM
Hi @Sachin G K1 ,
Please try with below code and unselect omit checkbox:
var answer = false;
if (parent.state == 'new') {
answer = true;
}
answer;
If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!
Thanks & Regards,
Sumanth Meda