- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2019 08:53 PM
Create Change Request and then Click Change Tasks -> New.
How to hide Update and Delete button on Change Tasks when State is Closed?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2019 08:57 PM
Hi,
These should be global UI actions, You will need to take a copy of these UI Action, change its Table to Change Task and append your additional state conditions to its existing conditions.
current.isValidRecord() && current.canWrite() && gs.getProperty('glide.ui.update_is_submit') != 'true' && current.state !=3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2019 08:57 PM
Hi,
These should be global UI actions, You will need to take a copy of these UI Action, change its Table to Change Task and append your additional state conditions to its existing conditions.
current.isValidRecord() && current.canWrite() && gs.getProperty('glide.ui.update_is_submit') != 'true' && current.state !=3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2019 10:58 PM
Thank you very much.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2019 09:11 PM
Hi ,
Go to change_task table and right click on the update and delete button and add this condition in condition field for both button.
&&(current.state!=3||current.state!=5) // 3 = closed & 5 = cancelled ;
See below screen :
Please mark as correct and also helpful .
Thanks
Sanjay Bagri
Dxsherpa.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2022 07:41 PM
For some reason,
This works:
current.isValidRecord() && current.canWrite() && gs.getProperty('glide.ui.update_is_submit') != 'true' && current.state!=3 && current.state!=5
This do not work
current.isValidRecord() && current.canWrite() && gs.getProperty('glide.ui.update_is_submit') != 'true' &&(current.state!=3||current.state!=5)