We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Map Cat item to proper case type

Patryk Oshibuch
Tera Contributor

Hello,

I am looking for a OOTB solution:
I have a some list of catalogue items available on CSM portal. When the request is submitted the BR "Create case for request" will be triggered - but the destination table is always [sn_customerservice_case] (this is constant).

 

Is there any OOTB way to map cat item to proper case type?

Regards,
Patryk Oshibuchi

1 ACCEPTED SOLUTION

Rakesh_M
Mega Sage

HI @Patryk Oshibuch ,
1. Go to All >> System Extension Points >> Scripted Extension Points. or sys_extension_point.list
2.Open Record where API  Name= sn_cs_sm_request.CSMRequestIntegrations
3.In the script under the function copyFieldsFromRequestItemToCase add following:

caseGr.sys_class_name=" <your case type table name>";

//example ----> caseGr.sys_class_name="sn_customerservice_travel";
Screenshot 2026-04-23 at 8.47.55 PM.png
4.Click Create Implementation.
5.Navigate back to sn_cs_sm_request.CSMRequestIntegrations extension point.
Screenshot 2026-04-23 at 8.55.46 PM.png
6.In the Implementations related list, set the order so that the latest created record has the smallest value.
7.Now when a requested is submitted from CSM portal the case is created in specified case type table.


NOTE: Even though the record is of type Case, the Number field follows the Case format.

View solution in original post

4 REPLIES 4

Patryk Oshibuch
Tera Contributor

Or maybe it is possible to "refactor" case to casetype?

Tanushree Maiti
Tera Patron

Hi @Patryk Oshibuch 

 

Check the record producer maps to which table. change there .

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

Rakesh_M
Mega Sage

HI @Patryk Oshibuch ,
1. Go to All >> System Extension Points >> Scripted Extension Points. or sys_extension_point.list
2.Open Record where API  Name= sn_cs_sm_request.CSMRequestIntegrations
3.In the script under the function copyFieldsFromRequestItemToCase add following:

caseGr.sys_class_name=" <your case type table name>";

//example ----> caseGr.sys_class_name="sn_customerservice_travel";
Screenshot 2026-04-23 at 8.47.55 PM.png
4.Click Create Implementation.
5.Navigate back to sn_cs_sm_request.CSMRequestIntegrations extension point.
Screenshot 2026-04-23 at 8.55.46 PM.png
6.In the Implementations related list, set the order so that the latest created record has the smallest value.
7.Now when a requested is submitted from CSM portal the case is created in specified case type table.


NOTE: Even though the record is of type Case, the Number field follows the Case format.

Thank you very much, that is what I needed!