Here's a way you can set the output colors using process flow and a global table. The table has the desired color sequence and the process flow allows that sequence to repeat. Note that column 2 of the global table isn't used other than being a reference for which number in column 1 corresponds to which color (which is set in the "Change Visual" activity).
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.