During the creation of a workflow I needed a custom node to create a time out when a webhook is called. I know it could be made with the Function node but finally I decided to have this node because I will use it often.
I would like to share it with all of you but I don’t find the way to publish it, so if you can guide me to do so I would appreciate it.
Now back to why it is probably the wrong node to contriute. The reason is that I would probably not merge/add it.
There is a discussion about such a node here and what makes it so complicated to create to work at scale:
The issue is that if we add the simple version of such a node, people will not be aware of the implications. Meaning if a node exists and they have the need to wait a week between two nodes they would use it for that and that is very dangerous. The reason is that workflows would keep on running and so be active for the whole time and eat resources until the server crashes. And even worst, all the data of all that active workflows would be lost as it never has been saved (as it does only get saved after the workflow finishes execution).
So when I add such a node I want to be sure that it is “secure” to use for all people by temporarily stopping the workflow, saving the data and then spinning it up again. Hope that makes sense.
It has sense what you explained, but I will use it as personal node . Anyway I think would be really useful to have the option in webhook and start node to set some timeout before start the flow. As example, when is updated the user information are executed some triggers in the SQL server, so I need to be sure that the information is correctly saved.
Thank you for the explanation about how to collaborate.