-
15. Re: How to use pooledActors without Identity Component
pwang33 May 25, 2006 10:40 AM (in response to julian_k)You can have action class to do the same thing you did in your custom assigment handler. We have done that to dynamically to change the assigment on the fly.
-
16. Re: How to use pooledActors without Identity Component
julian_k May 25, 2006 11:52 AM (in response to julian_k)Yes, I have done that as well, but there is still a problem with pooledActors not working independently of swimlanes and process instances. I want to store a task for a pool of actors that is created by an user without defining or running a process. One can set the actorId but not the pooledActors b/c it requires you to use the identity component and swimlanes.
-
17. Re: How to use pooledActors without Identity Component
koen.aers May 25, 2006 1:47 PM (in response to julian_k)Ah, I see what you mean now... Sorry for the confusion ;-)
I think indeed that your option 2 stated above is the way to go.
Regards,
Koen -
18. Re: How to use pooledActors without Identity Component
julian_k May 26, 2006 2:21 PM (in response to julian_k)"kukeltje" wrote:
hmm.... I do not (in one go) exactely see what your intentions are since I do not have access to the code (atm) I'll respond later, but feel there should not be a need to override the PooledActor.... At least I've not missed anything without overriding it.
Not to be annoying, but have you had a chance to take a look?
Thanks. -
19. Re: How to use pooledActors without Identity Component
kukeltje May 26, 2006 3:27 PM (in response to julian_k)Yes and no, but I should have reported back.
We (the company I work for) have no need to be able to use it without a relation to swimlanes etc, so it works for us. I forgot about that (not unimportant) part of the question. As Koen pointed out, your second proposal seems the way to go.
Ronald -
20. Re: How to use pooledActors without Identity Component
julian_k May 26, 2006 5:06 PM (in response to julian_k)ok, great guys, thanks a lot for the help!
-
21. Re: How to use pooledActors without Identity Component
julian_k Jun 1, 2006 1:50 PM (in response to julian_k)Well the second proposal is the way I have gone, but I get the following error:
java.lang.RuntimeException: java.lang.UnsupportedOperationException: An actorId or pooled actors are required for task instances
So my workaround is to set the actorID to some meaningless String. Wanted to post this as a FYI and in case someone may see an issue with this. Otherwise, thanks for all the help guys.