This content has been marked as final.
Show 4 replies
-
1. Re: About swimlanes
pedror Mar 28, 2007 3:51 PM (in response to pedror)Sorry, the example is not correct.
It should read:swimlane name="bank" assignment="??"> ... <task-node xxx> <swimlane name="bank"> ...
-
2. Re: About swimlanes
avbentem Mar 29, 2007 4:16 AM (in response to pedror)"pedror" wrote:
I can't find information on what the swimlane assignment expression can contain
I wonder if you really want to use the expression attribute -- which is NOT a jPDL expression, but an assignment expression. But when using it, do you need more documentation than given in 11.11.2. Assignment expressions?
I guess that, instead of the assignment expression, you should set a jPDL expression on the actor-id. So (not too sure about the jPDL syntax here):<swimlane name="bank" actor-id="myVariable.pooledActors">
Or in Seam I'd try:<swimlane name="bank" actor-id="#{myComponent.pooledActors}">
"pedror" wrote:
nor can I find relevant information on separating the tasks between the users of bank A and the users of bank B, which belong to the same swimlane.
I wonder at which point you decide which bank is involved. I think that, using the jPDL expression in the actor-id of the swimlane, you could assign the bank-specific pool? See setPooledActors.
Arjan. -
3. Re: About swimlanes
pedror Mar 29, 2007 4:38 AM (in response to pedror)Arjan,
Thanks for the input.
It is just what I needed. -
4. Re: About swimlanes
morpheus_jboss Mar 29, 2007 8:01 PM (in response to pedror)
I guess that, instead of the assignment expression, you should set a jPDL expression on the actor-id. So (not too sure about the jPDL syntax here):<swimlane name="bank" actor-id="myVariable.pooledActors">
Or in Seam I'd try:<swimlane name="bank" actor-id="#{myComponent.pooledActors}">
Arjan, could you please explain how to define myVariable and myComponent here? are they user defined classes? thanks!