please file a jira issue for this... btw, what version of the engine/webconsole are you using?
I have exactly the same problem, but changing "to" to "transition" didn't change anything for me. The first transition is always taken no matter what i click, unless i signal the right transition directly at the jbpm console.
Task-Node looks like this:
<task-node name="Ueberpruefe Rechnung"> <task name="ueberpruefeRechnung"> <assignment actor-id="user"></assignment> </task> <transition name="ueberweisen" to="Berechne Skonto"></transition> <transition name="reklamieren" to="Reklamiere Rechnung"></transition> </task-node>
and the buttons:
<tf:transitionButton transition="ueberweisen" value="Ueberweisen"/> <tf:transitionButton transition="reklamieren" value="Reklamieren"/>
I'm really sure I had this working once...
What could be the problem?
It was a change in the webconsole AFAIK and not in the designer, or else it must be a regression. The issue is fixed in HEAD.
I use the jBPM version which is integrated into JBoss ESB. Neither do I know which version that is, nor do I know how to update it.
So where can I get this fixed version and how can I use it?
Yes, that seems to be the problem.
At step 9 after clicking 'More Infor Needed' I get an exception with the following cause:
java.lang.UnsupportedClassVersionError: Bad version number in .class file
Don't know what's this again....
But when I take a look at the process image it really went down the 'ok' transition.
1) what to do with this .patch file?
2) the page claims that this is fixed with 3.2.2, but that's the version I'm using. At least the version I configured as runtime location in RHDS is 3.2.2.
I'm ab bit confused. How is this runtime linked with the jBPM runtime that is integrated into the JBoss ESB?
UnsupportedClassVersionError it is a jre related problem. How i know for the jbpm web application you need to use at least java 1.5.
About first question, this patch patches org/jbpm/jsf/taskform/ui/UITaskFormTransitionButton java file, you can get latest version from http://fisheye.jboss.com/browse/JBPM/jbpm.3/jbpm4jsf/src/main/java/org/jbpm/jsf/taskform/ui/UITaskFormTransitionButton.java
About second - don't know anything about it
I use JRE 1.5.0_06 because this is the supported version of Jboss ESB.
How can I use this file? I think I have to compile my own jBPM version, but I have really no idea how to do it. I don't even know how I could use this version in the ESB.
Any help would be great! This destroys my whole process :(
FabianW: You can use Eclipse, just create new project, add jbpm4jsf.jar and jsf libs to classpath.
About UnsupportedClassVersionError possibly you have duplicates of some classes in classpath.
I'll try this tomorrow. First I have to check out how to get the files from the CVS
I think the compiler in eclipse is configured with Java 6 and your
jboss runs with java 5.
I'm sorry, I'm somehow too stupid to check out the CVS. I use TortoiseCVS and when I want to configure the jbpm-cvs I get this error:
Empty password used - try 'cvs login' with a real password
cvs [server aborted]: "import" requires write access to the repository
Could anybody be so nice and provide this file to me?
I downloaded the file from here: http://repository.jboss.com/jbpm/jpdl/3.2.2/lib/
I hope this is the right version, but at least it seemed to be newer than my version.
But now I'm a bit unclear how to use this library. I included it in my eclipse project, but as I am building with Ant, I don't think that helps.
Anyway the jar is in my .esb archive and I also deployed it together with my process through the process designer.
Shouldn't this work? Or what else do I have to do? It's still the first transition which is taken no matter which button I click...
I don't know anything about technologies which you are using, but i think that you should find jbpm4jsf.jar in your web application or application server and update it to newer version which you downloaded from repository.