Thanks Santanu.

getOutcomes does work, but the overhead of convert states to tasks is way too 
much...

getOutgoingTransitions() always returns an empty list! - I think its broken - 
or maybe I am not using it correctly.

Anyway...

The requirement has changed: Now, we (me) need to supply the UI with the entire 
map at startup. As in: The UI starts up, and requests for the "action map" -> 
which is a list of who can perform which transitions.

Unfortunately, I cannot find any easy way of storing role information with the 
diagram itself: the who can do what part. So, for now, I am thinking of adding 
an "allowedRoles" to each transition element. Will have to parse the jpdl file 
myself to get this information out of the file, but I will have all the data in 
one place.

The unfortunate downside is that I won't be able to use the UI to edit the jpdl 
diagram...

Is there an alternative way?

Thanks

Ajay

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269672
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to