- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2023 10:16 AM
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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2023 08:48 AM
@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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2023 08:25 AM - edited 07-25-2023 08:26 AM
Have you found the solution for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2023 08:48 AM
@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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2024 12:46 AM
Hi @Andrew McNeill, I've created a UI action for workspace. But i can't able to create action assignment.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2024 08:18 PM
Hi @Andrew McNeill , when you say "Advanced View in the related links" do you mean on the UI action or somewhere else? Related links in my UI action only shows Default View?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2024 07:04 AM
Hi @Andrew McNeill ,
I have tried approach that you have shared in here. We have tried to Call our script include from Script condition for visibility. But entire script include is running properly but button still visible for that.
// new hr_CaseTransferAjax_copy1().validation(); (for condition added script include)
script condition: current.active && gs.hasRole('sn_hr_core.case_writer') && (current.hr_service.value != sn_hr_core.hr.BULK_PARENT_CASE_SERVICE) && new sn_hr_core.hr_Utils().canRenderUIAction(current,'transfer_case') && new hr_CaseTransferAjax_copy1().validation();
Script include: (Which is not client callable)