Process doesn't work properly after first run

I am having issues with my simulation; the simulation runs perfect until the it needs to repeat a process then it messes up after the first run of the process.
Process assembly’s products, leaves them to cure and makes more product for x amount of time then packs products into a box by itself and then into a box of six once all products are backed has to repeat the process it messes up and doesn’t follow the process steps as it did before.
Anyone have ideas to help?

image
image

Here are photos of the issue if anyone has any ideas to solve the issue?

Are there any error messages in output?
What does the process routine look like?
Maybe you leave products or use variables that get reset or something.

There are no error messages, the photo below shows the routines and i have tried to use variables but still having the same issue or it doesn’t work in some way or another