How to hide Approve button and Reject button on RITM Form

katz2
Tera Contributor

Hi All,

We want to hide Approve & Reject button on RITM from once the action is performed i.e; Once user approves / reject using the respective button they should be disabled or hidden on the form.

Request your suggestions.

1 ACCEPTED SOLUTION

Harsh Vardhan
Giga Patron

Hi Karthik,



if you do some action through "Approve" or "Reject"   button then some state get change or update. so you must build some logic in your ui action condition field to make your ui action visible on those state value


curren.state=='3' || current.state=='4'     // i assumed 3 and 4 value is not complete and reject state.


View solution in original post

11 REPLIES 11

Hi katz,



glad it helped.


please mark the answer correct and close this thread .



How To Mark Answers Correct From Community Inbox


abhishekdash
ServiceNow Employee
ServiceNow Employee

Hello Karthik,



As per the description, I hope getting the condition right should resolve the issue.


Open the UI Action and add the condition to show if state = approved or rejected. This will make sure that the action is shown only on those state.



Thanks,


Abhishek



If this reply assisted you, please consider marking it Correct, Helpful, or Like it.


This helps other customers to learn from your thread.