- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2020 04:12 PM
I am trying to set a default case state for an HR Service by using the HR Case template. In my personal developer's instance, I modified the General Inquiry HR case template and added the State field with value of "Work in Progress". I also added the Source(contact_type) field to the template with a value of "In Person". If I create the case from the platform, the values default as I have specified. However, if I create the case from the employee service center, then the values do not default. I assume that the record producer must be defaulting the State and Source(contact_type) fields, and the record producer is overriding the HR case template. Is that the expected behavior or is there some way around that? Thanks!
Solved! Go to Solution.
- Labels:
-
Case and Knowledge Management
- 1,559 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2020 05:59 PM
Hi Dennis,
The hr_serviceUtil script include is setting those values from the function CreateCaseFromProducer. This is why you are getting different values when submitting from the ESC in regards to using the Create New Case in the fulfiller view. I believe around line 56 it is setting the source (contact_type) to self_service.
Regards,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2020 01:51 PM
Hi everyone. I have a similar behavior in state setting of WIP not coming through onto a life cycle event case. This is all in the console and without any portal involvement. Creating a new LEcase with the template as admin and the case is set to WIP and is automatically assigned a worker. However when impersonating one of those workers they successfully creat the case but it is set to state=1 (draft).
Anyone have any ideas on where to look? I have tried granting hr admin role and hat makes no difference.
Thankyou for any assistance
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2021 09:31 AM
I ran into this issue as well. I added a row into the Record Producer script field (current.state=3;) and this worked for me.