- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2024 09:37 PM
Hi All,
I have created 2 UI actions with same name but different conditions.
In the conditions i used scratchpad to validate some data.
The UI Action is working in Native UI but in Agent Workspace Both UI actions are visible irrespective of the conditions.
In Native only 1 UI action is visible based on the Condition.
Any ideas/ suggestions to hide based on conditions in Agent Workspace.
Thanks,
saisree
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2024 09:42 PM
you must be using display BR on that table.
So did you try checking in alert if the scratchpad variable is showing correct value
Also if that doesn't work then use UI action condition with script include and then show/hide
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2024 12:51 AM
g_scratchpad works only in client side, not sure how it's working in native UI for condition field.
Please use script include and call it from Condition field so that it works in both native + workspace
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2024 12:51 AM
g_scratchpad works only in client side, not sure how it's working in native UI for condition field.
Please use script include and call it from Condition field so that it works in both native + workspace
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader