Hello! I have a case where I have 2 pads in a process named Start and End. End pad gets its input, and that input defaults to 1. What I want is to initialise Start with the value I get from End’s input. I tried using Create to do this but that didn’t work. What’s the right way to do this?
All in all, the problem is that I want to keep the Update input while making it act like Create for once.
Please let me know if you’re unable to understand what I’m trying to achieve even after looking at the patch. I’ll try to come up with a better explanation.
Create operation is used when you have a Record for Class for instance.
Process handles create when node added to a patch, it’s kind of functionality is hidden from user.
The process node should have “process” e.g. something that is happening on update.
There is also flavors of process, the one you have called stateless process, you can also have a statefull process. start-end-help-state.vl (19.0 KB)
Create multiple operations like the blue one (idk) and the grey one (update).
Select nodes you want to run during your custom operation, right click assign → your new operation. Multiple colored operations can write into the same pad.
To selectively run parts of your patch, create another patch to call your colored operations. If yo do not know how to do this you need to check out a “vl operations” tutorial.
@antokhio — I was wondering how one can use This node. I looked at your example and it seems that invoking an operation within the process definition using This would make it harder for me to grasp the order of execution. I think I’ll probably avoid using it like this. 😅
The answer I gave above seems to be the simplest way to do this. I’ll mark that as solution (for now).