                   {:ph0 {:name "rnaseq-phase0", :type "tool", :args []},
                    :prn1 {:type "func", :name "prn"}},
                   :edges {:ph0 [:prn1]}}
+        get-toolinfo #(get-toolinfo % eid)
         ph0 template
         cfg (-> (assoc-in ph0 [:nodes :ph0 :args] [eid recipient])
                 (pg/config-pgm-graph-nodes get-toolinfo nil nil)

      (send-end-msg ws {:op :validate :payload vmsg})
      (let [{:keys [cmd eid template]} params
            dt (date-time-stg)
            resmap (actions/action cmd eid params get-toolinfo template)
            resfut (resmap :fut)
            jobdb-info (or (get-jdb [user eid action]) [])]

        (send-end-msg ws {:op :validate :payload vmsg})
        (let [{:keys [cmd eid template]} params
              dt (date-time-stg)
              get-toolinfo #(get-toolinfo % eid)
              resmap (actions/action cmd eid params get-toolinfo template)
              resfut (resmap :fut)
              jobdb-info (or (get-jdb [user eid phase]) [])]
