Author |
Message
|
ruba_arsh |
Posted: Sun Aug 07, 2005 6:41 pm Post subject: workflow sample |
|
|
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 |
|
 |
jmac |
Posted: Mon Aug 08, 2005 5:20 am Post subject: Re: workflow sample |
|
|
 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 |
|
 |
kotha |
Posted: Mon Aug 08, 2005 5:26 am Post subject: Re: workflow sample |
|
|
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 |
|
 |
vennela |
Posted: Mon Aug 08, 2005 9:38 am Post subject: Re: workflow sample |
|
|
 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 |
|
 |
kotha |
Posted: Mon Aug 08, 2005 11:31 am Post subject: Re: workflow sample |
|
|
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 |
|
 |
supreeth |
Posted: Tue Aug 09, 2005 3:51 am Post subject: |
|
|
 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 |
|
 |
vennela |
Posted: Tue Aug 09, 2005 8:38 am Post subject: |
|
|
 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 |
|
 |
elvis_gn |
Posted: Wed Aug 10, 2005 12:24 am Post subject: |
|
|
 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 |
|
 |
supreeth |
Posted: Thu Aug 11, 2005 12:31 am Post subject: |
|
|
 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 |
|
 |
|