public function findAttachedBoundaryActivities(VirtualExecution $execution): array
    {
        $model = $execution->getProcessModel();
        $activities = [];
        
        foreach ($model->findNodes() as $node) {
            $behavior = $node->getBehavior();
            
            if ($behavior instanceof AbstractBoundaryActivity) {
                if ($this->activityId == $behavior->getAttachedTo()) {
                    $activities[] = $node;
                }
            }
        }
        
        return $activities;
    }