UI Action - 'Condition' not applying on Workspace

Andrew McNeill
Tera Expert

As the title says, my condition for visibility for a UI Action doesn't apply in Workspace despite applying outside Workspace. Do I put the condition in Workspace Client Script?

1 ACCEPTED SOLUTION

@Dharaneetharan @Manmohan K yes I have found the solution

 

The solution is, the condition for workspace UI actions isn't toggled from the UI Action record

Instead, it is toggled from a record on the Action Assignment [sys_declarative_action_assignment] table

Within the record, you must click Advanced view in the related links, and you may have to configure the layout to show the 'Script Condition' field under the Conditions tab

 

Only here could I control visibility of UI actions in Workspace

View solution in original post

9 REPLIES 9

Manmohan K
Tera Sage

Hi @Andrew McNeill 

 

Can you check if workspace form button is checked. 

ManmohanK_0-1689183196687.png

 

If not, then you would have a different button that is being used in workspace

@Manmohan K Yes it is checked

 

The UI Action is appearing in Workspace when I don't want it to. The problem is not that it is not showing, it is that when the condition evaluates to false and it rightly does not appear in classic SN, it still appears on Workspace.

@Andrew McNeill 

 

Can you share the UI action code and images

That would help community to check what's wrong

Thanks @Manmohan K 

 

The UI Action is OOB I think, it is called 'Transfer Case' in the HR: Core application scope