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.

How to open a case in new case view from list action assignment in workspace

lucky6
Tera Contributor

Hi,

Have a requirement to create a list action assignment " create case " in csm workspace and if I click on it it should open the new case record form ..I have updated the payload with view details but for some reason it is not opening in the correct view.

Payload:

{

"Route": "record",

"Fields": {

"table": "sn_customerservice_case",

"sys_id": "-1"

},

"Params": {

"view": "new_case"

}

}

is anything wrong from the above payload?

 

12 REPLIES 12

Hi @GlideFather ,

I want to create it in my cases list and can you please help where can we get this new case button script to modify the script and to add the custom table.

1000117945.jpg

Hi @lucky6,

there is "New" button on the right side of your screen, go to UI Actions, locate it there (search for "New" on the sn_customerservice_case table) and get a copy of it and change the script within the UI Action, most likely changing the table would be sufficient.

 

Rename the copy to recognise the difference between New and Copy of New and eventually hide the first one... 

 

Or if you have the custom table, you can updated the List in the left side and there all the records would be locating to the table, the button new should create it to the corresponding table...

 

The custom table is it extending the Case or not?

_____
This reply is 100 % GlideFather and 0 % AI

It is not from the UI Actions, it might be coming from an Action Assignment defined on the 'Task' table. There could be a script written that applies to all child tables.