Where is the script stored for sys_declarative_action_assignment - specifcally for copy_case?

saireddycon
Tera Expert

saireddycon_0-1770290147332.png


The above screenshot is for a Declarative action assignment for copying a case in HR Agent workspace. We have a similar UI Action custom made by us but wanted to see the difference between ours and the OOB Copy Case. I would like to compare the script written by service now but cannot find it anywhere. 

Any help regarding this is appreciated, thank you!

 

1 REPLY 1

Sachin_Nasa
Giga Guru

Hi @saireddycon ,

You can find fields like Client Script, Server Script, Scripted Client Condition, Script Condition, and Client Conditions directly in the Action Assignments (sys_declarative_action_assignment) table.

To view them more easily:

List View

  • Open the Action Assignments list
  • Personalize the List to add the fields you want to display
    Sachin_Nasa_0-1770298965145.png

Form View

  • Open the specific record
  • Right‑click the form header (banner frame)
  • Go to Configure → Form Design
  • From there, you can drag the fields you want onto the form to make them visible
    Sachin_Nasa_1-1770298988474.png

    If you find this response helpful, please mark it as Helpful and accept it as the solution if it addresses your question—it would encourage me to contribute more to the ServiceNow Community.

    Thanks & regards,
    Sachin Narayanasamy