[jBPM] - Human Task Assignment -- actor status changed
by jemmerling
jemmerling [http://community.jboss.org/people/jemmerling] created the discussion
"Human Task Assignment -- actor status changed"
To view the discussion, visit: http://community.jboss.org/message/644728#644728
--------------------------------------------------------------
Sorry, I couldn't think of a better subject line.
I would like to know, given 2 nodes in a process definition:
A task associated with the first node can be claimed by any member of a given group. When complete, the subsequent task can also be claimed by any member of some group (possibly a different one). However, the id of the actor that completed the previous task is retained as a process variable.
So here is the scenario. For the 2nd task, the actor completing that task will set "approved" to true or false. If "approved" is false, then:
--the process should return to the previous node and be assigned to the actor that completed it before...
unless:
--either that actor no longer exists
or
--that actor exists but is no longer a member of the group that can claim the task
...in which case, the task should be claimed by some other member of this group
I would think this a common scenario but I would like to know how straightforward this is to implement in jBPM5. Is this standard behavior or must it be implemented programmatically?
I am evaluating jBPM5 in comparison with some competing products and the above scenario is the one that was presented to me as an important one for jBPM5 to be able to support easily -- preferably "out of the box".
TIA and sorry this isn't more concise.
--JE
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/644728#644728]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 12 months
[jBPM] - Problem displaying process instance in the ProcessTest example
by Michael Wagner
Michael Wagner [http://community.jboss.org/people/michael.wagner] created the discussion
"Problem displaying process instance in the ProcessTest example"
To view the discussion, visit: http://community.jboss.org/message/614863#614863
--------------------------------------------------------------
http://community.jboss.org/servlet/JiveServlet/showImage/2-614863-16712/s... http://community.jboss.org/servlet/JiveServlet/downloadImage/2-614863-167...
Yesterday it worked. But now it does not work any more. Everything (bpmn- und java-file) is unchanged and from the example in the sample folder.
!ENTRY org.eclipse.jface 4 2 2011-07-13 12:47:44.263
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.IllegalArgumentException: Could not find process with id com.sample.evaluation
at org.drools.eclipse.debug.ProcessInstanceViewer$ProcessInstanceTabItem.<init>(ProcessInstanceViewer.java:96)
at org.drools.eclipse.debug.ProcessInstanceViewer.showProcessInstance(ProcessInstanceViewer.java:163)
at org.drools.eclipse.debug.ProcessInstancesView$DoubleClickAction.openProcessInstance(ProcessInstancesView.java:120)
at org.drools.eclipse.debug.ProcessInstancesView$DoubleClickAction.run(ProcessInstancesView.java:68)
at org.eclipse.debug.ui.AbstractDebugView.doubleClick(AbstractDebugView.java:731)
at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:824)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:822)
at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1421)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1225)
at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:238)
at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:235)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:296)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
Please help me to get it running again.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/614863#614863]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 12 months