How can I control the sequence or flow of each node's operation?

Hi, I was trying to find a way to order my workflow on nodes, code blocks & python scripts:

  1. Create color overrides in current {3D} view →
  2. Duplicate default {3D} view →
  3. Lock duplicated view →
  4. Add Tags to the duplicated view

somehow the result was always different and unreliable,
the tags in final step were created successfully,
but most of the time the color overrides only works on the original {3D} view,

why Dynamo allows me to duplicate view & add tags to it but fails to duplicate the color overrides in first step?

I’ve searched and tried Passthrough nodes from Clockwork,
sometimes it works (with additional 3 or 4 duplicated views though…,)
but sometimes it just breaks my application (might be some kind of programming loop in dynamo)

anyone has a feasible way to control the operations order?

Thanks in advance

Hi @zefreestijl do you have a dataset you could share ?

WorkflowTest1(1).rvt (6.3 MB)
WorkflowTest1.dyn (473.3 KB)

Hi, the files are created in 2024 cuz I’m trying to Create a GD Study for the nodes,

the screenshots show the randomly results: