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 » Workflow Design Issue

Post new topic  Reply to topic
 Workflow Design Issue « View previous topic :: View next topic » 
Author Message
anuppc
PostPosted: Fri May 07, 2004 6:19 am    Post subject: Workflow Design Issue Reply with quote

Voyager

Joined: 22 Oct 2002
Posts: 93
Location: Montreal

i have a group which has 100 users. When i assign an activity to this group. The first person who checks-out the activity consumes the activity.
I need all 100 to send in their comments in the activity. Does that mean i need to have 100 parallel activities? Which is quite cumbersome... is there any other way we can achieve this.

Regards

Anup Chandran
_________________
BlowFish
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
jmac
PostPosted: Fri May 07, 2004 6:25 am    Post subject: Reply with quote

Jedi Knight

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

It sounds like that will be necessary based on what you describe. I would try to rethink the design and come up with some other way to do this.

GOOD LUCK
_________________
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
anuppc
PostPosted: Fri May 07, 2004 8:07 am    Post subject: Reply with quote

Voyager

Joined: 22 Oct 2002
Posts: 93
Location: Montreal

well found a hack to this! choose the users from container and put the activity in a loop with a loop condition. Everytime user checks in remove the current user from the container and dont satisfy the loop condition till all the users in the container put in their comments. since the loop condition is not satisfied new workitems are created for users in the current container.
_________________
BlowFish
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
jmac
PostPosted: Fri May 07, 2004 8:11 am    Post subject: Reply with quote

Jedi Knight

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

What you suggest will of course work, but be aware that this may not perform well... Hopefully the code is not in a block because then the performance will be worse. If you've never had a look at WP01 support pack take a look and calculate how many BWU each instance is going to generate.
_________________
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
manoj
PostPosted: Fri May 07, 2004 12:57 pm    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

comments by 100 users for one workitem , is this something you wanted really ?...
if sequential processing is ok for you then you can put an exit condition with count. every time a user checks in the work item if the exit condition is not matched the workitem will go to READY state so that other users can check it out.
i believe the comments by users go to your application database.
You may need to go for a bit more complex logic than just using the count
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
anuppc
PostPosted: Thu May 13, 2004 1:09 pm    Post subject: Reply with quote

Voyager

Joined: 22 Oct 2002
Posts: 93
Location: Montreal

Well they are parallel activities, sequential is no good!
_________________
BlowFish
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
manoj
PostPosted: Thu May 13, 2004 1:13 pm    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

If they are parallel you may want to go for some bundling techinique..This way you don't have to model 100 activities in your process model, ofcource it will generate 100 workitems(from 100 activities)
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
anuppc
PostPosted: Fri May 14, 2004 4:51 am    Post subject: Reply with quote

Voyager

Joined: 22 Oct 2002
Posts: 93
Location: Montreal

can you explaina bit more on bundling technique? is it by using blocks??
as i described earlier... which jmac says might lead to performance issues...
_________________
BlowFish
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
jmac
PostPosted: Fri May 14, 2004 5:32 am    Post subject: Reply with quote

Jedi Knight

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

A "bundle" is a special construct that was in FlowMark (MQWF predecessor) that allows for the dynamic generation of instances based on some data. I think there is some additional information here

http://www.mqseries.net/phpBB2/viewtopic.php?t=7646&highlight=bundle

If you have a small system, bundles might perform for you, but if you are talking about generating a large number of these instances per day you are going to have to be careful. Quick example using your numbers:

Say you have 10,000 instances per day. You indicate you need to generate approvals from 100 users per instance. Using the bundling technique that would mean 1,000,000 instance creations per day. That is quite a number just for Process starts alone you are talking about 3,900,000 BWU per day if I am not mistaken thats about 45 BWU/second (assuming a 24 hour day, which is probably not correct) and this is ONLY for the process starts, depending on what else is in these instances it goes up from there. Now I believe the biggest unix boxes will give you in the neighborhood of 400 BWU/second, so this is doable but I would recommend that you get some help with your design to ensure that your system will run and that you don't disappoint your customer.
_________________
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
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 » Workflow Design Issue
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.