[JBoss jBPM] - swimlane task assignment in process definition not working
by jeffcwang
Hello,
I searched the forum and couldn't find any answer. I have created a new process definition (based on the websale example) along with tasks and forms. However, when I try to assign an actor to a task via a swimlane, it doesn't work. The assigned actor is always "manager", even when i specify the actor to be "shipper" or "programmer" (I added it to the jbpm_user table in db). I checked out the database and the actor_id is correct in jbpm_swimlane table; however in the jbpm_swimlaneinstance table, it is mysteriously always the manager actor id. I am using JBPM 3.2.1.
Two questions:
(1) Why is assignment not working?
(2) Does assignment even matter? In the websale example, I can login as any user and do the tasks, even when assigned to a different person.
Here is the process def code:
|
|
| <process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="cb_9_1">
|
|
| <!-- SWIMLANES (= process roles) -->
| <swimlane name="programmer">
| <assignment actor-id="programmer" />
| </swimlane>
|
| <swimlane name="accountant">
| <assignment actor-id="shipper" />
| </swimlane>
|
| <start-state name="formatting">
| <task swimlane="programmer" />
| <transition to="clean-up"></transition>
| </start-state>
|
| <task-node name="clean-up">
| <task swimlane="accountant" />
| <transition to="create seed list"></transition>
| </task-node>
|
| <task-node name="create seed list">
| <task swimlane="accountant" />
| <transition to="END"></transition>
| </task-node>
|
|
| <end-state name="END"></end-state>
|
|
| </process-definition>
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074231#4074231
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074231
18Â years, 11Â months
[JBoss Seam] - Encoding issue (what tier is responsible for that ?)
by rcherchi
Hi guys,
I'm using JBoss Seam 1.2.1GA on JBoss AS 4.0.5GA (EJB3) and Facelets for the View (as recommended in JBoss Seam Book by Michael J.Y. and Thomas H.)
I have a problem with character encoding and I can figure out what tier is responsible for that.
My database encoding is UTF-8.
Then, I have a method in a Local Session Bean (EJB 3) querying the database using standard EJBQL, build up an XML output using SAX and return a String (representing the xml).
In the client side, I have a JavaScript callback function that parse the xml and dynamically fill a HTML component.
Here I see some strange characters that look like UTF-8 ones.
One more hint : When I write a static page (containing accents for instance) using eclipse with UTF-8 encoding set, characters are displayed correctly in the page.
Thanks a lot.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074230#4074230
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074230
18Â years, 11Â months