10-13-2017 01:45 AM
Hi,
I'm trying to add a intermediateCatchEvent to a workflow so that it will wait a defined period of time before moving on.
<intermediateCatchEvent id="timerintermediatecatchevent1" name="TimerCatchEvent">
<timerEventDefinition>
<timeDuration>PT5M</timeDuration>
</timerEventDefinition>
</intermediateCatchEvent>
So that timer should wait 5 mins before moving onto the next step.
which is this
<receiveTask id="checkServiceFeatures" name="Check Service Features">
<extensionElements>
<activiti:executionListener event="start" delegateExpression="${remoteActionMessageDelegate}">
<activiti:field name="serviceKey">
<activiti:string><![CDATA[checkServiceFeaturesAction]]></activiti:string>
</activiti:field>
</activiti:executionListener>
</extensionElements>
</receiveTask>
Now the issue im having is that in the activiti console
I have attached the full stack trace
Thanks
Simon
03-14-2018 06:48 AM
It took me several days of agonizing over this but I finally figured out what was causing this problem for me.
First thing is to check if you have another workflow engine running against the same database instance.
In my case, we have several development servers that we were using at one point or another. One of them that we though got decommissioned actually came back into service without us knowing about it. We had moved on to a different server at that point. The problem was that once the server was recommissioned, the applications all started up again - including my workflow application. It sat there, silently, listening for jobs in the ACT_RU_JOB table and it would occasionally pick one up before the new application would and it would result in that error. The error was due to the fact that the old server had an older build of my application that was missing object references that the new one had. The error in EXCEPTION_MSG_ was actually thrown by the old application.
Hope this helps someone!
03-08-2018 08:14 AM
Of course, the one question that I really need answered isn't answered..
I'm having the exact same issue. A bit more background of my issue:
I have four workflows that have the same issue. The problem I'm having is that it does not manifest itself when I run it on my local workstation's application server (WebSphere, btw) but only when it's deployed on our development app server. For all intents and purposes, they're the same server and using the same version of Oracle as the back-end database running the Activiti engine.
I'd love to know if there's a resolution for this.
03-14-2018 06:48 AM
It took me several days of agonizing over this but I finally figured out what was causing this problem for me.
First thing is to check if you have another workflow engine running against the same database instance.
In my case, we have several development servers that we were using at one point or another. One of them that we though got decommissioned actually came back into service without us knowing about it. We had moved on to a different server at that point. The problem was that once the server was recommissioned, the applications all started up again - including my workflow application. It sat there, silently, listening for jobs in the ACT_RU_JOB table and it would occasionally pick one up before the new application would and it would result in that error. The error was due to the fact that the old server had an older build of my application that was missing object references that the new one had. The error in EXCEPTION_MSG_ was actually thrown by the old application.
Hope this helps someone!
03-16-2018 05:50 AM
Thanks for coming back with the update!
Explore our Alfresco products with the links below. Use labels to filter content by product module.