[jBPM] - Process Inference
by Julio Faerman
Julio Faerman [https://community.jboss.org/people/jmfaerman] created the discussion
"Process Inference"
To view the discussion, visit: https://community.jboss.org/message/762963#762963
--------------------------------------------------------------
Hello colleagues,
When i am working in BPM projects, it is very common to have some or all of this problems:
- The organization does not know the [whole] process
- The organization knows the process, but does not know how to model, deploy or maintain it
- The organization knows how to model, but the process is too complex, full of special cases and exceptions
- The organization is improving the process faster than software can keep up
And other related issues i think you may also have found. Then i wonder...
What if we modeled the software so that the process engine could relate the system state and events to user actions?
Given some time, the process could be infered from this data and the engine automatically take the actions it has enough confidence (possibly undoable) or ask the user otherwise.
Would this be any good in your organization, or is it just another bad idea?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/762963#762963]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 6 months
[jBPM] - Human Task Not Working
by tracer
tracer [https://community.jboss.org/people/tracer] created the discussion
"Human Task Not Working"
To view the discussion, visit: https://community.jboss.org/message/763796#763796
--------------------------------------------------------------
I created my JBPM project with some human task but when i try to run it ,I get this message,
0
05/07 11:17:53,531[main] ERROR workitem.wsht.GenericHTWorkItemHandler.executeWorkItem -
Thu Jul 05 11:17:53 WAT 2012: Error when creating task on task server for work item id 1. Error reported by task server: Task operation request timed out
java.lang.RuntimeException: Task operation request timed out
at org.jbpm.task.service.SyncTaskServiceWrapper.addTask(SyncTaskServiceWrapper.java:118)at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler.executeWorkItem(GenericHTWorkItemHandler.java:145)at org.drools.process.instance.impl.DefaultWorkItemManager.internalExecuteWorkItem(DefaultWorkItemManager.java:70)at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:105)at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:124)at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:205)at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:164)at org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:49)at org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:41)at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:124)at org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)at org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:188)at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:303)at org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:168)at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:138)at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1082)at org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:320)at com.principal.PrincipalProcess.main(PrincipalProcess.java:30)
Process Started..........
I have tried the Evaluation Example a million times, in that example also i am facing the same issue...sometimes it works for the first time after installing jbpm but at the next instant it crashes with the same error.Please give a permanent solution to this query as i have reffered the previous discussions with the same topic,but didn't found any useful solution.Quick resolution is appreciated.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/763796#763796]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 6 months
[jBPM] - JBPM and Webservice call with callback - please advise
by mvermand
mvermand [https://community.jboss.org/people/mvermand] created the discussion
"JBPM and Webservice call with callback - please advise"
To view the discussion, visit: https://community.jboss.org/message/766579#766579
--------------------------------------------------------------
Hi,
I'm quite new to JBPM5, though have worked quite a lot with JBPM4.4.
We are investigating if we can switch to JBPM5.
I need to create a Task in a bpmn flow that sends a message to an external webservice.
Lets call this Task-A.
Moreover, the external party must respond (async) within a definable time (for example 1 hour or 1 day...)
Only if the external party responds within this time period,Task-A can be completed and the next task can be started.
Else a different (error-reporting/fallback) task should be started.
If no response arrived in time, Task-A should be marked as terminated/obsolete(?) so in case a response of the external party arrives afterwards, this has no effect anymore.
Can you give me any ideas in how to accomplish this?
Challenge 1: Creating a callback to complete the Task-A:
I found something similar (I think) in an example called "PersistentEmergencyServiceProcess", though
I'm not sure it is a good staring point since:
1) this handles about human tasks
2) it has an ActiveWorkItemService.java class which states:
* This class doesn't support ksession crashes. The ksession passed to its
* constructor must leave through all the process execution.
==> what if the server get's restarted within the life-span of 1 hour or 1 day?
Challenge 2: Creating a duedate/timeout on the Task-A:
In JBPM4.4 it is quite easy to set a timer (duedate) on a task.
How can this be done in JBPM5?
I do not see such property on a Task in the JBPM Editor.
Challenge 3: How to call an external webservice:
Are there any available helper-classes to easely achieve this?
Or should I just generate POJO from a WSDL and call this code from a bean?
Any advice will be greatly appreciated!
Michiel
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/766579#766579]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 6 months