UI Action is not picking the condition

ABC6
Tera Contributor

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 

ABC6_0-1746517834138.png

 

21 REPLIES 21

Gaurav Rathaur
Kilo Guru

Hi @ABC6 ,

 

you can follow these Fix steps.

 

Fix Steps:

  1. Check Script Include: Ensure it's active and Client Callable = true if used on client-side.

  2. Condition Syntax: Confirm it returns true/false properly (not null/undefined).

  3. Use GlideAjax: If UI Action is client-side, call Script Include via GlideAjax, not directly.

  4. Debug: Add gs.log() in Script Include and test in Scripts - Background to verify output.

Script include defined over condition is not client callable , script include we are using in script section is client callable

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

So far Script include in Script Section is working but Script include on Conditio side is not working