Discussions

Pipelines - Multiple if then else statements

  • 1.  Pipelines - Multiple if then else statements

    Posted 06-25-2020 08:34
    I have a budget table and a template table. The records for the budget table are created using a pipeline based on a choice in another table. This is working great ... BUT, I only have 3 templates set up so far and already I'm scrolling, scrolling, scrolling to add new ones. I already have 12 templates I need to set up and will likely have many more.

    My question is, is it better to have one incredibly long if, then, else pipeline or would it make more sense to create a new pipeline for each template? The problem with the second option is I have to create pipelines for both when a record is added and when a record is updated, duplicating the number of pipelines. I may end up with 50 or so pipelines just for this one simple action.

    Would love to hear if someone sees a better solution for this before I continue.

    Thanks!

    ------------------------------
    Carolyn Hendrycks
    ------------------------------