- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2023 04:00 AM
Hi,
I am working on making the 'Implement' button showing up in the 'Change' form only after the 'Scheduled Start time' has started. Any suggestion on how I can go about it?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2023 04:18 AM
Just add the condition (new GlideDateTime() >= current.start_date) to implement UI Action, after adding the condition looks like below.
gs.hasRole('itil,sn_change_write') && new ChangeFormUI(current).isImplementAvailable() && (new GlideDateTime() >= current.start_date)
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2023 04:18 AM
Just add the condition (new GlideDateTime() >= current.start_date) to implement UI Action, after adding the condition looks like below.
gs.hasRole('itil,sn_change_write') && new ChangeFormUI(current).isImplementAvailable() && (new GlideDateTime() >= current.start_date)
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2023 09:12 AM
Thank you! It is working as expected!😄