UI Action is not picking the condition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2025 12:50 AM
Hello Team,
Ui Action is not picking up the condition where it calling script include , please help me to get this issue resolved
ideally it should skipped the Risk assesment for RFC change , poreviously it is working but not now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2025 12:55 AM
Hi @ABC6 ,
you can follow these Fix steps.
Fix Steps:
Check Script Include: Ensure it's active and Client Callable = true if used on client-side.
Condition Syntax: Confirm it returns true/false properly (not null/undefined).
Use GlideAjax: If UI Action is client-side, call Script Include via GlideAjax, not directly.
Debug: Add gs.log() in Script Include and test in Scripts - Background to verify output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2025 12:59 AM
Script include defined over condition is not client callable , script include we are using in script section is client callable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2025 01:02 AM
Hi @ABC6 , try to add logs in both script Includes to check if it is triggered or not.
If my response was helpful, please mark it as the correct answer and close the thread. This will help others who come across the same issue.
Thanks!
Gaurav Rathaur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2025 01:43 AM
So far Script include in Script Section is working but Script include on Conditio side is not working