Topic
  • No replies
bioflash
bioflash
10 Posts

Pinned topic Unable to trigger user defined task if it is created by "reuse BPM process"

‏2012-08-28T03:17:27Z |
Dear All,

The problem is that I would like to define a task that needs to be triggered by user dynamically. I can run it without problem except when that task is created by "re-use BPM process"

Here is what I did. First I define a new task by using "Add Filenet BPM Process" option. After that I set it to be run "If user creates task".

After creating an case instance, I invoked the resource /CASEREST/v1/case/{case folder id}/tasktype/{symbolic task name} with GET RESTful request to get the RequiresLaunchInfo. It returned the following error message.

Have anybody met this problem?

"Exception: UNKNOWN, BAD_PARAM, minorCode=0x202 org.omg.CORBA.BAD_PARAM: >> SERVER (id=309, host=Flipped) TRACE START: >> org.omg.CORBA.BAD_PARAM: Null Param (2) - string vmcid: IBM minor code: 202 completed: Maybe >> at com.ibm.rmi.iiop.CDROutputStream.write_string(CDROutputStream.java:561) >> at filenet.pe.peorb.FileNet_PERPC.StepProcessorInfoHelper.write(StepProcessorInfoHelper.java:118) >> at filenet.pe.peorb.FileNet_PERPC.PERPCPOA._invoke(PERPCPOA.java:741) >> at com.ibm.CORBA.poa.POAServerDelegate.dispatchToServant(POAServerDelegate.java:402) >> at com.ibm.CORBA.poa.POAServerDelegate.internalDispatch(POAServerDelegate.java:334) >> at com.ibm.CORBA.poa.POAServerDelegate.dispatch(POAServerDelegate.java:256) >> at com.ibm.rmi.iiop.ORB.process(ORB.java:513) >> at com.ibm.CORBA.iiop.ORB.process(ORB.java:1574) >> at com.ibm.rmi.iiop.Connection.respondTo(Connection.java:2845) >> at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2718) >> at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:63) >> at com.ibm.rmi.iiop.WorkerThread.run(ThreadPoolImpl.java:202) >> at java.lang.Thread.run(Thread.java:736) >> SERVER (id=309, host=Flipped) TRACE END. vmcid: IBM minor code: 202 completed: Maybe",
" >> SERVER (id=309, host=Flipped) TRACE START: >> org.omg.CORBA.BAD_PARAM: Null Param (2) - string vmcid: IBM minor code: 202 completed: Maybe >> at com.ibm.rmi.iiop.CDROutputStream.write_string(CDROutputStream.java:561) >> at filenet.pe.peorb.FileNet_PERPC.StepProcessorInfoHelper.write(StepProcessorInfoHelper.java:118) >> at filenet.pe.peorb.FileNet_PERPC.PERPCPOA._invoke(PERPCPOA.java:741) >> at com.ibm.CORBA.poa.POAServerDelegate.dispatchToServant(POAServerDelegate.java:402) >> at com.ibm.CORBA.poa.POAServerDelegate.internalDispatch(POAServerDelegate.java:334) >> at com.ibm.CORBA.poa.POAServerDelegate.dispatch(POAServerDelegate.java:256) >> at com.ibm.rmi.iiop.ORB.process(ORB.java:513) >> at com.ibm.CORBA.iiop.ORB.process(ORB.java:1574) >> at com.ibm.rmi.iiop.Connection.respondTo(Connection.java:2845) >> at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2718) >> at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:63) >> at com.ibm.rmi.iiop.WorkerThread.run(ThreadPoolImpl.java:202) >> at java.lang.Thread.run(Thread.java:736) >> SERVER (id=309, host=Flipped) TRACE END.