SLA stuck at pause even after its state is closed

Santosh Oraon
Tera Expert

Hi Team,

I'm facing an issue with an SLA on the sc_request table. The SLA is currently in the Paused stage, and even after the request meets the stop condition (State = Closed), the SLA does not complete and remains in the Paused state.

The stop condition is configured as:

  • Table: sc_request

  • Stop Condition: State = Closed
    One observation I found while troubleshooting:

    • In the XML of the request record, the state value is 3 (Closed).
    • However, when I checked the Audit History, I don't see any audit entry indicating that the state changed to Closed.

Has anyone encountered this issue before or knows what could cause an SLA to remain in the Paused state instead of completing after the stop condition is met? Any suggestions on what I should check would be greatly appreciated.

Thanks!

SantoshOraon_0-1784808425604.pngSantoshOraon_1-1784808531610.pngSantoshOraon_2-1784808594061.png

 

2 ACCEPTED SOLUTIONS

Swapna Abburi
Giga Sage

Hi @Santosh Oraon 

You can troubleshoot by updating the request or doing an SLA repair to verify if the SLA is set to completed.

From above steps, if the SLA is set to completed, it could be that when request state was set to closed, the setWorkflow was probably set to true.

 

Thanks,

Swapna

View solution in original post

yashkamde
Giga Sage

Hello @Santosh Oraon,

 

Your configurations seems right..

the cause may be there is no entry in the Audit History, it means the record was updated bypassing ServiceNow's standard auditing and workflow engines.

 

check for any code like this,

current.state = 3;
current.setWorkflow(false);
current.update();

 

If my response helped mark as helpful and accept the solution.

View solution in original post

5 REPLIES 5

Santosh Oraon
Tera Expert

Thank you everyone for support , now its fixed its because of setworkflow(false).