Where is the script stored for sys_declarative_action_assignment - specifcally for copy_case?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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
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
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
Thanks & Regards,
Sachin Narayanasamy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @saireddycon ,
As you mentioned, I have checked the Copy Case record, and it does not have any associated Server-side Scripts or Client Scripts. That is why I believe there is no hard-coded script involved in this functionality.
Instead, the behavior appears to be driven by multiple linked configuration records—such as highlighting configuration structures—most of which are related to workspace configuration. The logic seems to be handled at the condition level, rather than through explicit scripting.
For this copy use case as well, the functionality is controlled through indirectly associated or linked records rather than direct field-level scripts. To achieve or modify the required behavior, these linked configurations need to be explored individually and in depth.
Thanks & Regards,
Sachin Narayanasamy

