Knime Server: How to prevent simultaneous execution of a workflow?

Hello guys,

I have a problem with a workflow. The Workflow reads and writes different files on different locations. To prevent errors on data-access or information loss I want to disable the simultaneous execution of a workflow. So if User A is running the workflow, User B cannot execute the workflow until user A is finished.

Anyone knows if it’s possible?
Thanks…

Hi @Tim8200,
I think there is no completely reliable way to do this on a workflow level and it is not a feature of KNIME Server. You could create a lock file if you use a single executor, but you will definitely use a coding node such as the Java Snippet to implement it. On multiple executors distributed across multiple machines, it will become even more difficult.
Kind regards,
Alexander

1 Like