From what I understant, you cannot make “decisions” that deep inside the AnimGraph. Use event graph for calculations and decide which one you want to play in the event graph. Store an enum value and choose “Pose1” or “Pose2” by logic in the event graph.
In the anim graph transition to the state based on the enum value.