How to hide UI Action Button conditionally on Workspace?

Dalma P_ll
Tera Contributor

Hi there, 

I would like to hide the 'New' button on the Catalog Tasks Form if the corresponding Requested Item is in closed state. Where can I add this condition to the UI Action so that the button is no longer visible on Agent Workspace?

I tried Action Exclusions but that made the button disappear on every task related to requested items. 

find_real_file.png

find_real_file.png

6 REPLIES 6

Michael Fry1
Kilo Patron

Did you try looking under the module: Related List Actions (sys_declarative_action_assignment table).

I did but could not quite figure this one out. What exactly are you suggesting to do? Where in the Related List Action record can I add a condition to check if the state of the corresponding cat item is closed?

Under Action Exclusions, I was able to add the sc_task table, excluded it and made the button disappear but I could not add a condition to it. 

I don't see a Save button baseline, so thinking someone added one?

@Dalma P_ll - any solution you got for hiding the new button in related list?