How do Multiple tabs in Process Executor Work?

Hello!
I thought I could save myself some time and make a few less nodes by having a single node with two process executor tabs. What I am trying to accomplish is two different break times. One at 2 hour in and one at 6 hours in. All I am doing is reserving the resource after a set amount of time for a set amount of time.

My original thought was that they went in order, one after the other. So, I had a delay of 2 hours on the first and a delay of 4 hours on the second. This worked as intended until I did a big layout change, and now for some reason the ‘second’ break is happening at 4 hours in and the ‘first’ one is happening at 6 hours in. Is there no way to force the order? My other thought was that they operate in parallel, but since only one of the delays has the green dot, that doesn’t seem to be the case either.

I can of course do an if statement with variables and have it switch the delay amount depending on that, but I would like to understand the way the tabs in process executor work.

I’m not sure I understood everything.
If you have several routines in your process without having defined any requirements, then they should be executed sequentially. To quote the Help File:

Process executor executes only one process routine at a time. Process routines are executed sequentially from left to right, if no requirements are filled.

What you could do is add a requirement to force the order as you said. There are two Requirements Statements. Here you could use the Property Condition Statement.
I made an example using the Analog Clock (from the Misc file in the eCat) to get the simulation time. You can then ask in your Property Condition, if the simulation time matches the break time:


BreakTime with PropertyCondition.vcmx (6.2 MB)

This helps. I think there might be some kind of weirdness with the order in my model. Is there a way to reorder the tabs once they are made?

There is no way to reorder the tabs once they are made.

You could rename, copy, paste and delete all the commands inside each one. (Pressing Shift+Left mouse button)
However, any variables that you defined must be re-entered and deleted manually. Sadly you can not copy and paste those.
Also, you need to be careful on the Process Flow, it will only update the renaming, anything else you must do it manually, and if you delete the process, all the flow data will be gone.

I suggest using the conditional statements such as [Property Condition] or [Reserve Product] so that you do not depend on the order of the process tabs.

1 Like