Is there a possibility to get some workflow-specific information when executing a NodeModel? I need to cache some data which cannot be serialized and passed through the ports, and I would like to make sure, that this data is cleanly separated between different workflows.
So, basically all I need is some way to distinguish, if my node is executed in workflow A, B, or, … by a name, identifier, etc.
Just discovered NodeContext.getContext().getWorkflowManager().getName() … if that should be the totally wrong way, I would be greatful for a hint :)
Just to add here: you can also look into the implementation of the "Extract Context Properties" node. It outputs different context parameters as variables.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.