Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Ui action script doesn´t work

Big Alex
Tera Contributor

I'm creating a UI action (button) in the ServiceNow sc_task table called "Create Story". The button should trigger a process to create a story record in the rm_story table and copy fields and attachments from the related Requested Item (RITM) to the new story. However, the button isn't working as expected because the script isn't even being called. I need guidance on how to implement the script so that clicking the button starts the flow or executes the necessary actions. We've already tried all approaches and configurations, and since the script isn't running, even looking at the log table is pointless. 

 

The script runs on background scripts interface, so the script is ok. But why on earth he doesn´t run in the UI action is a mystery!

 

Thanks in advance!

3 REPLIES 3

Laveena-Agarwal
Kilo Sage

Hi @Big Alex 

 

Don't lose hope, We can fix this!

 

Share the script details and screenshot of UI Action to see if you have missed any configuration related details.

Ankur Bawiskar
Tera Patron
Tera Patron

@Big Alex 

unless you share script we can't help

what debugging did you do?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Big Alex
Tera Contributor

just attached some screenshots