diff --git a/library/Bpapp/BusinessProcess.php b/library/Bpapp/BusinessProcess.php index ed41d4c..1ce868e 100644 --- a/library/Bpapp/BusinessProcess.php +++ b/library/Bpapp/BusinessProcess.php @@ -70,6 +70,12 @@ class BusinessProcess return $this; } + public function addRootNode($name) + { + $this->root_nodes[$name] = $this->getNode($name); + return $this; + } + public function retrieveStatesFromBackend($backend) { $this->backend = $backend;