Re: Activity and process finish with custom assignment manager

Sasa Bojanic <[email protected]> Sat, 26 Sep 2009 08:09:14 +0200
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1253945466-18930-6307
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

I assume these are not automatic activities which are not being executed 
but the manual ones, otherwise we have a big problem :-).
If you are executing runTS to test your new AssignmentManager, be aware 
that it creates and executes a processes for user "admin".
In the case of Standard or XPDLStraight assignment manager, when you 
create processes as admin user and when there are no participant 
mappings when Standard assignment manager is used, all the assignments 
will go to this "admin" user, and thus at the end of the test all the 
processes will be finished.
If your assignment manager generates assignments for a user(s) different 
than "admin" (at least for the manual activities at a beginning of the 
process), the processes will never get finished since admin will not get 
any assignments in his worklist.

Greetings,
Sasa.


DS wrote:
> Hello,
>
> I have a problem with automatic modes. I have added my own assignment manager
> (actually just getAssignments part for I don't quite understand how to use
> UserGroupManager, which is unfortunte because it could have been extremely
> helpful). Once I added it, Shark started behaving differently - none of
> activities that have automatic start and finish modes are actually completed
> automatically. I was under implression that regardless the assignment manager,
> it should work as set however there is something that I don't see. I can't find
> much in the docs either. 
>
> As a matter of fact, I have tried examples with runTS.bat on my Windows
> machine. If I don't have my assignment manager set, everything works as
> expected - activities are created and finished by the engine. However if I
> uncomment the line in the config and use
> XPDLStraightParticipantMappingAssignmentManager, no more automatic finishes -
> the example stops after the first activity is created.
>
> Could someone please explain what is going?
>
> DS
>   


------------=_1253945466-18930-6307
Content-Type: text/plain; charset="UTF-8"; name="message-footer.txt"
Content-Disposition: inline; filename="message-footer.txt"
Content-Transfer-Encoding: quoted-printable


--
You receive this message as a subscriber of the [email protected] mailing lis=
t.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=3Dhelp
OW2 mailing lists service home page: http://www.ow2.org/wws

------------=_1253945466-18930-6307--