# Processing one node workflow after another

**URL:** <https://forum.dynamobim.com/t/processing-one-node-workflow-after-another/49922>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [April 28, 2020, 12:25pm UTC](https://forum.dynamobim.com/t/processing-one-node-workflow-after-another/49922 "2020-04-28T12:25:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![theshysnail](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/theshysnail/32/146653_2.png) [@theshysnail](https://forum.dynamobim.com/u/theshysnail)\
**Post date:** [April 28, 2020, 12:25pm UTC](https://forum.dynamobim.com/t/processing-one-node-workflow-after-another/49922/1 "2020-04-28T12:25:11Z")

</div>

Hi all,  
I was looking for a way to run a workflow in a script after another one is executed. I stumbled upon some previous discussions and applied some workarounds.

> [@How to finish node/Script then start the other one?](https://forum.dynamobim.com/t/how-to-finish-node-script-then-start-the-other-one/13953):
>
> I have two separate nodes, how can I Run first one (Element.Delete) and after finish/complete the node start the second node (SaveAs)? I want to delete element and the save the file as shown below: Thanks and Regard, Ahmad Adawi

> [@Start proces after ending the first proces](https://forum.dynamobim.com/t/start-proces-after-ending-the-first-proces/12227/7):
>
> yes, that should be possible, only the wait node does not work. as soon als i have the toggle connected to another node that i know wil eventually give a true output. it will always start running with the datashapes instead of the first part of the script.

But it seems to be not working in my case where I have two separate inputs in my nodes.

I want to first Apply View Templates to viewports on the sheets and then align those viewports on the sheet corresponding to a template sheet.

For me, the second node is not working (it works fine separately). Perhaps because they are getting processed at the same time.  
Please suggest.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/a/7ae927b1e0533bf9b8f420ec81f4b95b65924509.png)

---

<div class="post-metadata">

**Author:** ![Michael\_Kirschner2](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/michael_kirschner2/32/75576_2.png) [@Michael\_Kirschner2](https://forum.dynamobim.com/u/Michael_Kirschner2)\
**Post date:** [May 2, 2020, 4:12pm UTC](https://forum.dynamobim.com/t/processing-one-node-workflow-after-another/49922/3 "2020-05-02T16:12:33Z")

</div>

try transaction.end node
