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 sample

Post new topic  Reply to topic
 workflow sample « View previous topic :: View next topic » 
Author Message
ruba_arsh
PostPosted: Sun Aug 07, 2005 6:41 pm    Post subject: workflow sample Reply with quote

Newbie

Joined: 07 Aug 2005
Posts: 2

A customer would like to invoke different sets of activities based on criteria derived from input data without changing the parent process model. What is the BEST way to meet this requirement?

Use subprocesses within the parent process.

Use the capability of dynamic assignment of subprocesses via container variables.

Use block activities within the parent process.

Define the process with all possible changes as flows in the parent process
Back to top
View user's profile Send private message
jmac
PostPosted: Mon Aug 08, 2005 5:20 am    Post subject: Re: workflow sample Reply with quote

Jedi Knight

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

ruba_arsh wrote:
A customer would like to invoke different sets of activities based on criteria derived from input data without changing the parent process model. What is the BEST way to meet this requirement?


This sounds suspiciously like a question from the workflow exam.
_________________
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
kotha
PostPosted: Mon Aug 08, 2005 5:26 am    Post subject: Re: workflow sample Reply with quote

Partisan

Joined: 12 Mar 2005
Posts: 333

Quote:
Use the capability of dynamic assignment of subprocesses via container variables.


might be the best possible way!!!
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Aug 08, 2005 9:38 am    Post subject: Re: workflow sample Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

kotha wrote:
Quote:
Use the capability of dynamic assignment of subprocesses via container variables.


might be the best possible way!!!

Kotha:
Looks like you are ready for the certification
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kotha
PostPosted: Mon Aug 08, 2005 11:31 am    Post subject: Re: workflow sample Reply with quote

Partisan

Joined: 12 Mar 2005
Posts: 333

vennela wrote:
kotha wrote:
Quote:
Use the capability of dynamic assignment of subprocesses via container variables.


might be the best possible way!!!

Kotha:
Looks like you are ready for the certification


Vennela:

Thanx for the compliment but I need to learn a lot!!!
Back to top
View user's profile Send private message
supreeth
PostPosted: Tue Aug 09, 2005 3:51 am    Post subject: Reply with quote

Voyager

Joined: 17 May 2005
Posts: 90
Location: London

Hi,
I guess instead of having different sub processes and taking the sub process at run time (this would result in a lot of duplication of modelling effort), i would suggest use the block activity and decide as what activity to give control to based on the transition condition.

Say, there are 3 activities A, B and C. As i can underatsnd from your explanation, the activities that can be given control to can be either just A, or A,B or all A,B and C.

So, you can have a block activity, with a certain exit condition. you can have the count to iterate inside the block as the value in the container. I mean, it is either 1,2 or 3 based on the above scenario.

Appropriately give a transition condition inside the block activity for it to take the correct activity and you are done.

Quote:

Define the process with all possible changes as flows in the parent process.


I dont think you can do it. Workflow doesnt allow us to bring a connector back. i mean for 3 activities, you can have A to B ; A to C and B to C; But if you have A to B, then B to A is not possible. So, this option is totally ruled out.

Thanks and Regards,
Supreeth
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Aug 09, 2005 8:38 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

It's a workflow sample test or real test question, so answering such questions is not a good idea.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
elvis_gn
PostPosted: Wed Aug 10, 2005 12:24 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Supreeth,
Do u realize the amount of BWU that each block activity requires.

I think the use of the container variables is the easier and better way out.

Regards.
Back to top
View user's profile Send private message Send e-mail
supreeth
PostPosted: Thu Aug 11, 2005 12:31 am    Post subject: Reply with quote

Voyager

Joined: 17 May 2005
Posts: 90
Location: London

Hi elvis,
First of all, as vennela has suggested, its not a good idea to answer to this question as it is from a certification exam. But, since we have started it, i thought let us complete it.

I agree with your point but the specification doesnt point towards the need for high speed execution right ?

These are the excerpts from the workflow best practices guide

Code:
 Blocks incur an overhead of 0.8 BWU (compared to 3.9 BWU for a subprocess), but can be very effective in process modeling.


Its always a trade-off between simplicity of modelling , simplicity in maintaining to the performance speed. Blocks can make your whole model look amazingly small. It need not be just used for looping purpose. In case of dynamic routing, which is the requirement, blocks can be very useful. In my previous post, i had given a small example containing 3 activities.

To continue on the same, taking the sub process design, as far as i can understand, your solution is to create sub process for each permutation and combination of the flow. So, for 3 activities you have to have 6 process models. what if the number of activities grow to 10. Look at the complexity involved there as per your design. If you are using block here, you can get off by just having a block activity and catering for all kinds of sequencing and routing. It can even cater for parallel activities being spawned together.

This is purely my personal thought and i would be more than glad to change my mis conception if my understanding is wrong.

Thanks and Regards,
Supreeth
Back to top
View user's profile Send private message
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 sample
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.