- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 11:38 PM
Hi,
We have a requirement to mention the different Business Services under one ServiceNow catalog.
As of now, we are using the below-given scripting code so that free support case business services can be popped up when we create a new ticket via Catalog request.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2024 11:29 AM
Hi @ArunG29061990 ,
Current would be the record you are running the logic on. current.business_service would be a field called business_service on the same record. gs.getProperty is the code for fetching the value of a system property. In this case the system property called bw.business_service.free_support_cases.sys_id.
If you want to replace the logic to have different services depending on the option then it's the gs.getProperty logic that you need to replace with a mapping between option and service.
Regards,
Niklas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2024 11:29 AM
Hi @ArunG29061990 ,
Current would be the record you are running the logic on. current.business_service would be a field called business_service on the same record. gs.getProperty is the code for fetching the value of a system property. In this case the system property called bw.business_service.free_support_cases.sys_id.
If you want to replace the logic to have different services depending on the option then it's the gs.getProperty logic that you need to replace with a mapping between option and service.
Regards,
Niklas