HR case is getting auto-closed when created from record prodcer

Pavankumarkp
Tera Contributor

Hi Community,

I am facing issue related to auto-closing of HR Cases from record producer. I have created a flow along with that so when HR case is created, tasks are automatically being created when triggered. 
So, when I submit a case from record producer for employee onboarding, state is set to closed complete.

8 REPLIES 8

Hi @nayanmule 
I have checked HR service is attached properly to record producer i.e employee onboarding.

yashkamde
Tera Guru

Hello @Pavankumarkp ,

 

Is there anything affecting from your 2nd flow i.e Employee offboarding seen in 1st screenshot ??

Hello @yashkamde ,
Offboarding flow is working fine. There's no conflict.

Wessel van Enk
Tera Guru

Hi @Pavankumarkp,

According to your screenshot the Record Producer is creating an HR Lifecycle Event case, correct? 
For those case you need to make sure there are activities in the specific lifecycle event, otherwise the case will be automatically closed. 

Please try to move the tasks you want to be created from the workflow and add them directly as activities in the lifecycle event. Then the case will not be closed automatically. 

Please note that you need to make the activities mandatory, not optional.
Optional activities are still skipped during the review and the case will still be closed.