Exclude a table from global UI action

S_53
Kilo Guru

I have a global UI action called 'REJECT' on sysapproval_approver table (for List context menu). I want to exclude 'sc_req_item' table from it as I don't want the users to approve RITM within context menu.

What condition do I need to include in this UI action to exclude RITM table.

Thanks in advance!

10 REPLIES 10

BALAJI40
Mega Sage

give in condition,


current.sys_class_name != 'sc_req_item'


or current.getTableName()!= 'sc_req_item'


I tried both, but still able to reject the requests


Can you show a screenshot of condition you have written? If it is a context menu, then you should be getting an unauthorized message while clicking the reject option.



Thanks


Please Hit like, Helpful or Correct depending on the impact of the response



Highlighted is the condition I have added. But still able to reject requests.



find_real_file.png





find_real_file.png