.Net Workflow Foundation design: Multiple workflows or one big workflow with IfElse activities? -


I am reading something about workflow design and how am I confusing my application as a model.

Sequential workflow with 5 top-level activities

  • Each top-level activity can have 1 - 5 child activities.
  • New child activities can be started in the future.
  • The input in the workflow is a document and its type is based on the type of document, each top level activity must go through 1 or more child activities.
  • All top-level activities and some child activities are applicable for all types of documents
  • At present, about 5 different types of documents are known. A maximum of 10 more document types can be added in the theoretical future.
  • XAMML will be used for workflow configurations.
  • Framework: 3.5 SP1
  • For the above requirement, can you advise what is the best strategy in case of initial design and maintenance:

    OR

    • Design different workflows - each one type of document.

    OR

    • Any other better options?

    Thank you!

    I worked for WF 3.5 SP1 for the appropriate duration and gave the following suggestions:

    1. Different workflows - Each per type of document: A straight forward no because you have to be strong enough to include new documents. You can not simply (not) type the document type as continuous, the requirement of business will change and you will be asked to add more than 10-15 documents (all real-world software has all the time).

    2. As new child activities can be started In the future, you can look at defining different workflow for 5 top-level activities. This can help you to maintain a personal top-level activity.

    3. There may be a big workflow with lots of e-ELSs and it looks good at the beginning but I believe that it looks terrible once the number of proper conditions Has been added. It makes a lot of effort to manage a huge workflow.

    So, to sum up, you can divide your activities into top-level activities in only 5 workflows and then manage.

    Hope this helps.


    Comments

    Popular posts from this blog

    Eclipse CDT variable colors in editor -

    AJAX doesn't send POST query -

    wpf - Custom Message Box Advice -