While developing my workflow I've got following situation: I wonder how to get 
the actual workflow-status. e.g. I'd like to read the actual state of the 
workflow and according to this state set e.g. the permissions of a resource in 
my CMS and create a new task.

For example:

  | <start-state>
  |     |
  | <approval-state> (= task-node w. assignment handler)
  |     |
  | <publishing-state> (= task-node w. assignment handler)
  |     |
  | <end-state>
  | 

1. the system starts the workflow and moves the root-token to the 
approval-state 
2. the system reads the actual workflow-state-name (planned to be represented 
as swimlanes)
3. the system reads group/all users from a database which are assigned to this 
state
4. the user chooses one user/group
5. the system creates a new task with previous chosen user/group-data[i/]

Now my questions:

* Is it possible to have an Assignment Handler in the task-node and an 
additional swimlane declaration which has also an assignment handler? The 
Tutorial says you should not use an assignment in task & swimlane. If it helps: 
In the swimlane i would like use no specific class as handler - i only want to 
define it as a string

* If issue one is solvable: How can I read the swimlane-string? How to read it 
outside the workflow OR how to read it in an ActionHandler and write it to the 
Process-Context?

* Is there a better solution to identficate a workflow-state? By any node-data, 
process-context or something like that?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932122#3932122

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932122


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to