A misleading error message is displayed when User attempts to commit an expired task.

book

Article ID: 84963

calendar_today

Updated On:

Products

CA Automic Service Orchestration - Automation Engine

Issue/Introduction

Affects Release version(s): 3

Error Message :
User '[User:'****']' was unable to execution operation 'Complete' on task id **** due to a no 'current status' match

A misleading error message is displayed when the user tries to commit an expired task.
  
Sporadically issues with processes that stop in an undefined state - issue is caused by the timer event. The timer is over and the process starts again. The timer is already over and the process starts again continuing but the Personal Tasks / Group Tasks List still show the Human Task as available. 

 
== Excerpt from logfile ==
[ERROR][http-bio-443-exec-1610] ***@*** 09:27:43,112 TaskServiceSession.taskOperation(): Rolled back task operation Complete transaction
org.jbpm.task.service.PermissionDeniedException: User '[User:'[email protected]']' was unable to execution operation 'Complete' on task id 161245 due to a no 'current status' match
at org.jbpm.task.service.TaskServiceSession.evalCommand(TaskServiceSession.java:302)
at org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:417)
at org.jbpm.task.service.local.LocalTaskService.complete(LocalTaskService.java:77)
at com.levatis.uc4.toolbox.manager.jbpm.ProcessManager$3.execute(ProcessManager.java:1013)
at com.levatis.uc4.toolbox.manager.jbpm.ProcessManager.executeTaskServiceOperation(ProcessManager.java:1272)
at com.levatis.uc4.toolbox.manager.jbpm.ProcessManager.completeTask(ProcessManager.java:1009)
at com.levatis.uc4.toolbox.manager.jbpm.ProcessManager.doUpdate(ProcessManager.java:812)
at com.levatis.uc4.toolbox.manager.PersistenceManagerInstanceServlet.doUpdate(PersistenceManagerInstanceServlet.java:71)
at com.levatis.uc4.toolbox.manager.PersistenceManagerServlet.doPost(PersistenceManagerServlet.java:190)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.levatis.uc4.toolbox.manager.LoginFilter.doFilter(LoginFilter.java:79)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.levatis.uc4.toolbox.manager.LoginNeededFilter.doFilter(LoginNeededFilter.java:38)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.levatis.lrm.ws.TooluserFilter.doFilter(TooluserFilter.java:34)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
 

Cause

Cause type:
Defect
Root Cause: When comitting an already completed task a misleading error message is displayed.

Environment

OS Version: N/A

Resolution

Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Request Management 3.2.2 - Available

Additional Information

Workaround :
N/A