UI Action (button) for specific SYS ID

AdamUMC
Tera Guru

Hi,

I have a "sys_template" (Incident template) for which I have made a new button.
It's actually the same button as hidden behind the hamburger- icon ("Insert and Stay").

Now I want this button to be available for only this specific template. I have tried several conditions within the button's UI Action, but nothing seems to work. How can I solve this problem?

I have tried:
- Condition = sys_id=a0a80ee597676110b4fbb1e3f245986f^EQ (does not work)

- Condition= template=[[OB]] -^EQ (does not work)

- Condition = name=[[OB]] - ^EQ (does not work)

Thanks in advance!

1 ACCEPTED SOLUTION

@AdamUMC  
current.getUniqueValue() == 'ur_template_sys_id'.So the Ui Action would only show on that particular template.
If my response helped please mark it correct and close the thread

View solution in original post

26 REPLIES 26

current.table_name == 'sys_id'. // sys_id of table.

 

use this...

Samaksh Wani
Giga Sage
Giga Sage

Hi @AdamUMC 

Can you Please mark my Solution as Accepted and thumbs up, if you got any help from it.

 

Regards,

Samaksh