I am using the jBPM Eclipse IDE on eclipse 4.0.2. I cannot figure out how to add conditions to a transition or how to set the DecisionHandler class to the decision node. The user GPD user guide does not talk about any of this either.
Any help will be greatly appreciated.
And I also have one problem about the plug-in:
when i deploy the process,the error comes out such as :
An unexpected exception caused the deployment to fail
what should i do ???
4!!.0.2??? You lucky guy...
At least post the whole stacktrace
First of all, conditions are used to configure decision nodes, they are cannot (yet?) be added to transitions. You cannot configure these decision nodes with conditions or with handlers graphically yet. To do this, use the source tab and add the conditions writing plain jpdl. AFAIK there is not yet a JIRA issue for this feature, so go ahead and add it if you like.
Secondly, I think the InvocationTargetException could be due to the fact that you used a class name in your processdefinition which was not found in the classpath of your project. I am not sure of this though... Does it happen at deployment of all your processes, or rather one particular process?
First of all, thanks for your replies. Second, where can I find some detailed examples of using the condition. For example, if the condition has to evaluate a return value from previous node (say a task), how is it done.