ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [SOLVED]Workitem Assignment

Post new topic  Reply to topic
 [SOLVED]Workitem Assignment « View previous topic :: View next topic » 
Author Message
Andy
PostPosted: Fri Jul 18, 2003 12:33 am    Post subject: [SOLVED]Workitem Assignment Reply with quote

Centurion

Joined: 14 May 2003
Posts: 122

One of my manual ativity in process is assigned to 3 persons and implemeted by PEA. 3 workitems would be created. Now, if the activity Start type is Automatic and all 3 persons are logged in, the program will be launched for one person and the workitem would be in Disabled state for other two.
Who will be that lucky fellow?

Thanks
_________________
Andy


Last edited by Andy on Tue Jul 22, 2003 8:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
jmac
PostPosted: Fri Jul 18, 2003 5:04 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Andy:

It is unknown who the "lucky fellow" will be. Generally for an automatic activity you would NOT assign 3 users.
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Ratan
PostPosted: Fri Jul 18, 2003 8:33 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

I guess I am a little confused.

If the Activity is automatic, then from what I know, it wont even generate a workitem. So the question of who gets the workitem should not arise.
If the activity doesnot satisfy its exit condition, then the workitem will be generated for all the 3 users. Ofcourse this is v332 talk.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Fri Jul 18, 2003 8:42 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Ratan:

Have you actually seen what you have stated? I am most interested in the statement that there will be 3 work items generated. I think that you are probably right regarding the fact that no workitem is initially generated (although I am going to run a little test to check this when I get a chance since I do not recall if the "Workitemless Activity" depends on the "Program can run unattended" checkbox or not). However, IF you have seen the 3 workitems, that would imlply to me that "Staff Resolution" was happening after the activity completed.

Let me know your thoughts on this.

Thanks
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Ratan
PostPosted: Fri Jul 18, 2003 8:55 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Ahh, now I get it. John, you are right. I think workitemless activity is for "Program can run unattended" (I was thinking this was implied when Andy said Automatic start).

Quote:
IF you have seen the 3 workitems, that would imply to me that "Staff Resolution" was happening after the activity completed.


you are right again. generating 3 workitems doesnot really make sense.

I will also test it, but first I will go and get more sleep.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Fri Jul 18, 2003 9:01 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Ratan:

No bother to test unless you dont trust me

I did the following:

1 activity set to auto start pointing to a VB app w/ a button that would set exit condition to fail. NOTE that this is AUTOSTART but not UNATTENDED. This activity is assigned to a role w/ 5 users in it.

As soon as I createandstart (logged in as one of the 5 users in the role) The VB app pops up like expected... HOWEVER, a check of the workitems reveals that there are indeed 5... one in a running state, 4 disabled.

So my old brain has again prooved to be not totally unreliable Every once in a while I can remember something and not have to actually go look it up. Of course if I was totally convinced of my brains reliability, I would not have had to run the test in the first place....

Moral: Workitemless Activity needs AUTOSTART and UNATTENDED.
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Ratan
PostPosted: Fri Jul 18, 2003 9:17 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Quote:
So my old brain has again prooved to be not totally unreliable Every once in a while I can remember something and not have to actually go look it up. Of course if I was totally convinced of my brains reliability, I would not have had to run the test in the first place....


I knew you were right and I was completely wrong. I just said I will test it as you mentioned you will run a test if you have TIME.

Moral: I should first verify and if possible test before contradicting.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [SOLVED]Workitem Assignment
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.