IBM Support

Known issue: If a discretionary task fails, it cannot be recovered by using the standard Process Engine administration tool

Release Notes


Abstract

If a task fails for various reasons, such as an invalid participant or a divide by zero error, the task is in a failed state. You cannot use the Process Engine administration tool to put the discretionary task back into a working state to continue the process.

Content

For AutoTask or Manual tasks, you can use Process Engine to fix the issue and the workflow will continue. IBM Case Manager, however, does not allow Process Engine to reset the state of discretionary tasks back to working or restart.

If this problem occurs, you must abandon the failed discretionary task and create a new one to redo the task and process.

The following sample shows the exception thrown by the IBM Case Manager API event handling code and errors from the Process Engine error log:

2013/07/29 12:25:00.849-0700 RPCHandler ORB.thread.pool : 2 [Error] ; Exception: com.filenet.api.exception.EngineRuntimeException: FNRCE0066E: E_UNEXPECTED_EXCEPTION: An unexpected exception occurred.  The unexpected exception is chained to this exception. Message was: FNRPE0024E: [ILLEGAL_TASK_CLEAR_EXCEPTION_OPERATION]: The requested restart operation is illegal for this Task. failedBatchItem=0 errorStack={
        at com.ibm.casemgmt.intgimpl.eventhandler.TaskEventHandler.onEvent(TaskEventHandler.java:104)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at com.filenet.engine.queueitem.SubscriptionProcessor.executeHandler(SubscriptionProcessor.java:1461)
        at com.filenet.engine.queueitem.SubscriptionProcessor.execute(SubscriptionProcessor.java:1227)
...
...
...
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:118)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1814)
    Caused by: com.ibm.casemgmt.intgimpl.eventhandler.CmAcmRuntimeException: FNRPE0024E: [ILLEGAL_TASK_CLEAR_EXCEPTION_OPERATION]: The requested restart operation is illegal for this Task. failedBatchItem=0
        at com.ibm.casemgmt.intgimpl.eventhandler.TaskChangeStateEventHandler.handleEvent(TaskChangeStateEventHandler.java:90)
        at com.ibm.casemgmt.intgimpl.eventhandler.TaskEventHandler.onEvent(TaskEventHandler.java:100)
        ... 74 more
    }

[{"Product":{"code":"SSCTJ4","label":"IBM Case Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"5.2.0;5.1.1.1;5.1.1.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg27039410