Several processes in one process node

Hello, I have a question about several processes within a process node:
I have 3 products (black, red, yellow) with different delay times.
I have assigned a boolean feature to them in the Product Properties and then process them with Reserve Product and Filters.

Everything works as it should, I have 3 different Processes in the Process Node.

But now my question is whether the whole thing could also be done in a Process without a reserve Product.

My idea was a query for the Boolean feature and then an If loop, but I can’t quite get any further, maybe someone can help me, thank you very much

ServeralProcesses.vcmx (294.5 KB)

Hello,

  • If you already use different product types, you don’t need a property to differentiate them : you can get the type of the product which entered with “ProductIn.ProductType.Name”
    Here is an example with a switch statement, but you could also do it with an if statement:

  • if you only need to change the delay value according to the product type, you could also add a property to each product and use it in your delay by setting its TimeSource on “Expression”

ServeralProcesses2.vcmx (311.3 KB)

1 Like

Perfect, the 2nd case with the switch statement is exactly what i am looking for. because i have to insert a setup time within the process for a yellow part.
Many thanks :slight_smile:

one additional question can i also work with the switch statement if several flow groups are running in the process?

Yes, it would work even if your products are in different flow groups

1 Like

thanks for the quick reply, i will test it in my large layout and get back to you if necessary :slight_smile: