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

8 REPLIES 8

Thrishulkd
Tera Contributor

Hi @Alekhya Azmeera,
Has the issue been resolved? I am facing similar kind of issue. 
The state moves to ready from any other state without manual effort. History shows that the user has updated, In fact it is not updated by user nor by agent. Please let me know if you found the solution. Thanks in advance

Hi @Thrishulkd 
For this issue it was not found properly, so we closed that as the user error or run time issue

sanjaygupta
Tera Guru

This behavior usually indicates that something is automatically updating the HR case state. The user appearing in the history does not necessarily mean they manually changed the state; an update performed through a business rule, flow, or other automation can also result in a field history entry.

I would recommend investigating this in the following order.

  • Open an affected HR case and note the exact timestamp when the state reverted.

  • Check the Activities section and sys_audit table for changes to the state field.

  • Verify the sys_updated_by and sys_updated_on values to identify the user and time associated with the update.

  • Navigate to System Logs > Transactions and check transactions around the same timestamp, where available.

  • Navigate to System Definition > Business Rules and review active business rules on the sn_hr_core_case and parent task tables that update the state.

  • Check Flow Designer > Executions for flows triggered around the same time. Review their execution details and any actions that update the HR case.

  • Review any custom Script Includes, scheduled jobs, integrations, and inbound actions that might update HR cases.

  • Check the HR Service configuration and associated HR case templates for state-related configuration.

Also, pay particular attention to the out-of-box HR case state management rules. ServiceNow uses business rules to manage HR case state transitions, so verify whether any customizations are interfering with the default behavior.

Do not deactivate out-of-box business rules directly to test the issue in production. First identify the responsible transaction or automation in a sub-production instance.

References:

If the issue affects multiple cases and different users, I would especially investigate common business rules, flows, and integrations before assuming that individual agents are changing the state.

Hope you find this helpful!