- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2018 04:00 PM
Maybe I'm missing something simple in terms of configuration, but how can I change the auto-populated value of the Case Short Description? Right now it's filling in the format "<Service name> Case For <Opened For user>".
How/where is this value set? I can't find it in the Business Rules, so am I correct in assuming that this is in the script includes?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2018 04:42 PM
Correct. The script include is named hr_ServicesUtil, and it's calling the function: createCaseFromProducer
You can replace that line with what you need, like the example your provided or if you have a lot of record producers, you can create a new script includes that will generate it for you, like what comes out of the box.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2018 04:15 PM
It's in the Script field on the Record Producers. That's where you need to change it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2018 04:23 PM
So I'd essentially need to add something like: current.short_description=producer.service_name + " case for " + producer.subject_name; to the script of every single record producer?
By default, this is the only script on the Record Producer:
new sn_hr_core.hr_ServicesUtil(current, gs).createCaseFromProducer(producer, cat_item.sys_id);
That is pointing to script includes, which I presume have the actual bit of code setting the current values.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2018 04:42 PM
Correct. The script include is named hr_ServicesUtil, and it's calling the function: createCaseFromProducer
You can replace that line with what you need, like the example your provided or if you have a lot of record producers, you can create a new script includes that will generate it for you, like what comes out of the box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2018 05:20 PM
Gotcha. Feels like it should be one of those items that should be more easily configurable. I'll play with a simple after submit business rule to set it for all cases, rather than fiddling with script includes, which tends to freak out HR folks.