This content has been marked as final.
Show 3 replies
-
1. Re: jBPM and @Unwrap question
bsmithjj Nov 3, 2006 10:58 AM (in response to bsmithjj)Oops - @Name("initjBPMActor") should be @Name("actor") - but that still doesn't work.
-
2. Re: jBPM and @Unwrap question
gavin.king Nov 3, 2006 11:31 AM (in response to bsmithjj)Just subclass Actor like this:
@Name("actor") public class AutoActor extends Actor { public String getId() { return UserPrincipal.instance().getName(); } ... }
Or maybe:@Name("actor") public class AutoActor extends Actor { @Create public void init() { setId( UserPrincipal.instance().getName() ); } ... }
-
3. Re: jBPM and @Unwrap question
bsmithjj Nov 3, 2006 3:18 PM (in response to bsmithjj)This worked!
Thanks!
Brad Smith