Audit Exception on Change status

Hi All,

I am getting Audit exception while trying to move a deviation to expire status. 

I have two workflow states of type “Release”. While for one, the change status works fine and moves it to Expire the other it doesn’t. 

I have tried to catch this exception and tried to disable this as shown in the API-SDK guide. But it didn’t work. 


Tried reviewing KM-docs. similar exception was observed in PPM module and it was termed as “As designed” feature. 

Stack Trace
Error code : 60104
Error message : See multiple root causes.
Root Cause exception : com.agile.pc.cmserver.base.AuditException

at com.agile.api.pc.APIObject.createError(
at com.agile.api.pc.RouteObject$ChangeStatus932Action.doSdkAction(
at com.agile.api.common.WebLogicAuthenticator.doAs(
at com.agile.api.common.Security.doAs(
at com.agile.api.common.Security.doAs(
at com.agile.api.pc.RouteObject.doChangeStatus932(
at com.agile.api.pc.RouteObject.changeStatus(
at arif.practice.examples.ChangeStatusJava.ChangeDeviationStatus(
at arif.practice.examples.ChangeStatusJava.main(

Let me know if there is a way to handle it. 


No Files Were Attached
Add Comment
2 Answer(s)

What happens when you move it to expire from within the web client?

Steve Jones Agile Angel Answered 3 days ago.

Able to move it to expired status.

3 days ago.
Add Comment

Couple of approach two resolve this issue : 

1. Set the auditRelease flag to false in ChangeStatus method. 
2. Load the Workflow table, remove the users where Action = “Awaiting approval” 

Code is working fine and issue is resolved.

Arif Agile Angel Answered 3 days ago.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.