HIDE UI ACTION WITH REFRESHING PAGE

Community Alums
Not applicable

Hello Everyone!

I would like to seek some advice regarding a UI action in the service portal. Currently, we have this UI action to cancel the request before the state changes to work in progress. If the state was changed to Work in progress from the backend, the Cancel button should disappear right away without refreshing the page. As of now, users needs to refresh the page before the button disappears even though the state was already changed to work in progress in the backend. I just wanted to know if this is possible and if yes, how it is done.


Thank you!

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Vee Jay Recana 

This is platform behavior and not possible without reloading.

UI Actions are shown based on UI action conditions and the condition is evaluated only once when form loads.

So users will have to refresh/reload the page to see the effect.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

4 REPLIES 4

Yousaf
Giga Sage

Hi Vee,

There could be in something in configuration but I feel this is kind of a bug because something like this happening to our portal too most of onChange functionalities work on refresh even though sys_id changes in url but it doesn't update untill we refresh.

Already submitted the case to now Support (hiwave). Waiting for there response


Mark Correct or Helpful if it helps.


***Mark Correct or Helpful if it helps.***

Ankur Bawiskar
Tera Patron
Tera Patron

@Vee Jay Recana 

This is platform behavior and not possible without reloading.

UI Actions are shown based on UI action conditions and the condition is evaluated only once when form loads.

So users will have to refresh/reload the page to see the effect.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Community Alums
Not applicable

Thank you Ankur! Maybe I'll just add an alert or anything that will show that the ticket's state has been changed and therefore user will not be able to cancel the request.

Sure

@Vee Jay Recana 

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader