Most relevant way to use flowchart

Hello,

I have a process that has 2 types of treatment based on if it’s an individual order or not

Some steps of this process are exact but others are different.
I would like to think of the ‘cleanest’ way to construct my process based on this condition, in order to minimize redundance and unnecessary conditions

This is what I currently have

In yellow is the step that is the same independently of the type of order

There will be other exact steps in between steps that are different so i cannot follow this logic without duplicating the ones that are the same.

Now, i would like to know which solution is the best way to tackle this ?

  • keep this switch and duplicate the exact same steps when it’s the case (like step 2)

  • do not use a flowchart and use “if” condition for each step (if individual order then … else …) ?

  • any other suggestion ?

thank you!!

Hello @adext

  1. Use a Conditional Flowchart:
    Keep common steps in a separate sequence, use decision points for conditions, and branch into specific steps when needed.
  2. Employ a Modular Approach:
    Break down your process into reusable components, with conditional statements in the main workflow to execute the right modules based on conditions.
  3. Utilize a Data-Driven Approach:
    Store order information in data structures, enabling dynamic process execution based on the order type.
  4. Consider State Machines:
    Use states to represent steps in the process, transitioning between states based on order type for structured management.

Thanks & Cheers!!!

How do the steps differ? Is it totally different actions to take, or is it just different data to enter? If it’s different data you can just use variables to store what to enter, and then use a common set of activities.

If the steps are largely the same but here and there you do something different then you should just use Ifs/Switches where necessary inside on sequence.

  • common step 1
  • common step 2
  • common step 3
  • If
    ** individual order step 4
    ** combine order step 4
  • common step 5
  • If
    ** individual order step 6
    ** combined order step 6
    etc