You can save part of your branches using “save new cache pose” and rename it as you see fit. Then you must call “use cache pose “saved name”” as input.
In addition, calculated variables should always be done outside the animgraph, and saved as booleans or float variables to be considered “thread-safe” inside the anim graph. That said, always use the results of a calculation as final variable inside the animgraph