Implement button in Change process

Karthikeyan2
Tera Contributor

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!

1 ACCEPTED SOLUTION

AnveshKumar M
Tera Sage
Tera Sage

Hi @Karthikeyan2 

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)

 

AnveshKumarM_0-1681903075732.png

 

 

 

 

 

Thanks,
Anvesh

View solution in original post

2 REPLIES 2

AnveshKumar M
Tera Sage
Tera Sage

Hi @Karthikeyan2 

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)

 

AnveshKumarM_0-1681903075732.png

 

 

 

 

 

Thanks,
Anvesh

Thank you! It is working as expected!😄