# Run a workflow based on output from a different database

**URL:** <https://forum.knime.com/t/run-a-workflow-based-on-output-from-a-different-database/33777>\
**Category:** KNIME Analytics Platform\
**Created:** [June 15, 2021, 1:54pm UTC](https://forum.knime.com/t/run-a-workflow-based-on-output-from-a-different-database/33777 "2021-06-15T13:54:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [June 15, 2021, 6:42pm UTC](https://forum.knime.com/t/run-a-workflow-based-on-output-from-a-different-database/33777/2 "2021-06-15T18:42:08Z")

</div>

@clonedapple you could take a look at this example

> [@Start a Workflow, e. g. a database query, after a certain time](https://forum.knime.com/t/start-a-workflow-e-g-a-database-query-after-a-certain-time/30287/36):
>
> @USCHUKN1ME I tried to build a system you might be able to expand and use. The idea is to have a workflow that would iterate a number of times (v\_number\_of\_intervals) with a set interval (of seconds) between (v\_seconds\_interval) them. The workflow looks for a trigger\_file.csv if this file has changed from the last time the loop has run a component would be executed. If the file has not changed nothing would happen. Admittedly not the most elegant way but you could build a small automatic execu…

Otherwise the knime server offers a lot of possibilities

---

_[View the full topic](https://forum.knime.com/t/run-a-workflow-based-on-output-from-a-different-database/33777)._
