Bernd,
An execution can be anywhere in the tree of executions. So for some executions, the
getActivityName() makes sense (eg sequential process) but for others (eg root execution
with forked child executions), it doesn't (which should it return?).
So that's why the only operation that is exposed is the findActiveActivityNames(),
which will give you one value (eg the sequential case) or multiple (eg the forked case
where the method is called on the root).
The getActivityName() operation is only used internally, where we can be really sure of
its usage.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4242543#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...