HR Cases are reverting back to ready state

Alekhya Azmeera
Tera Contributor

There is an issue in prod explaining that the HR cases are Reverting back to Ready state from Work in progress, awaiting acceptance, closed complete...... and so on
Another concern is that in the history it shows that the user updated the state, but the user explained that they did not make any changes
I need help with this scenario, how can i find the solution to this

5 REPLIES 5

Sarthak Kashyap
Mega Sage

Hi @Alekhya Azmeera ,

 

Check the Business Rules on the HR Case table and verify whether there is any script that sets the state, for example:

current.state = 1; // or any value that corresponds to the "Ready" state

Also check whether there are any calls to:

current.update();

Additionally, check the system logs there you can find anything.

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak

@Alekhya Azmeera ,

 

Additionally also check script tracer, and check what all scripts are working in backend.

SarthakKashyap_0-1785134030321.png

 

SarthakKashyap_1-1785134065509.png

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak

Thank you for the response @Sarthak Kashyap 
Script tracer is blocked to check in my organization Instance
Also observed the HR cases were updated on the particular date, till now there are no other HR cases observed the same behavior
Can I get any other solutions
Thanks & Regards
Alekhya Azmeera

Hi @Alekhya Azmeera ,

 

Could you please check whether any Fix Script was executed on that day? Also, could you verify the Script Execution History for that day to see if any scripts were run?

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak