{"title":"Java Edit Variable (simple)","nodeType":"Manipulator","id":"*x45ZKOUcy9y6aWbj","factoryName":"org.knime.ext.sun.nodes.script.node.editvar.JavaEditVariableNodeFactory","factoryId":"org.knime.ext.sun.nodes.script.node.editvar.JavaEditVariableNodeFactory","path":["Workflow Control","Variables"],"owner":"knime","ownerAccountId":"account:team:b5f0848f-496d-4e6a-b869-fa3532248db7","description":"<p>Edit a flow variable using java code. The node is analogous to the Java Snippet node: In the central panel, added java code to define or modify an existing variable. The variables available at the input are listed on the left. The allows you to select whether you want to overwrite an existing variable or define a new variable.</p>\n            \t\t\n        \n        ","shortDescription":"Edit a flow variable using java code.","keywords":[],"deprecated":false,"streamable":false,"tags":["Workflow Control","Variables"],"icon":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3BpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowYjM2YWM5Ny01ZWJhLTQwZTctOTE4OS1iYmU4ZDdkMGYyNGUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OTY1OThBNjI4RkFFMTFFNTg1NzhENEEzQzA5OUQ0MUMiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OTY1OThBNjE4RkFFMTFFNTg1NzhENEEzQzA5OUQ0MUMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDozQTg2RkVFMzQ1QzcxMUU1QUM2QkE3NzQyQjhFM0EyRCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDozQTg2RkVFNDQ1QzcxMUU1QUM2QkE3NzQyQjhFM0EyRCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PtFaZvIAAADDSURBVHjalFLBDYMwDHQQC/TPixXYiRVYoSt0BVZghazQH29WCDY6qyZymnDSCWOTwz6HiCjlZJAHyaO24tup06Q9FEIoiuTovORAQ2oVcQV22oOK1AT6UkFE7OxNHVg/Mk+idMN8ec4WAacFb8QzhL9C/Ym3xptAtjrhxhwl/9dqbvl61LZR7QAjHEzrQbxGafRgQrx47y0dEOaOiBfUxtYOBLPef2xhe7JGwvwHDv7GeSAg+CB3MzRVaKHmrZo4BRgAhbQphtijoW4AAAAASUVORK5CYII=","views":[],"inPorts":[{"objectClass":"org.knime.core.node.port.flowvariable.FlowVariablePortObject","color":"ff4b4b","dataType":"Flow Variable","optional":true,"name":"Input variables (optional)","description":"Input variables (optional)."}],"outPorts":[{"objectClass":"org.knime.core.node.port.flowvariable.FlowVariablePortObject","color":"ff4b4b","dataType":"Flow Variable","optional":false,"name":"Output variables","description":"Output variables."}],"dynInPorts":[],"dynOutPorts":[],"additionalSiteInformation":{"url":"https://update.knime.com/analytics-platform/5.12","trusted":true,"enabledByDefault":true,"name":"KNIME Analytics Platform 5.12 Update Site","version":"5.12.0"},"dialog":[{"fields":[{"name":"Flow Variable List","description":"The list contains the flow variables that are currently available at the node input. Double clicking any of the entries will insert the respective identifier at the current cursor position (replacing the selection, if any).","optional":false},{"name":"Method Body","description":"Enter your java code here (the entire source will be wrapped in a method). You can add the name of a variables by double-clicking its name in the left list. Note that numeric (double-compatible) variables will be handled as <tt>Double</tt> , int-compatible variables as <tt>Integer</tt> and any other variable type as <tt>String</tt> .","optional":false},{"name":"Compile on close","description":"If unchecked, the syntax test is skipped when the settings are applied to the model, allowing the dialog to close even if there are syntax errors encountered. This enables the user to temporarily close the dialog, investigate the input table and then return to the almost-complete-and-running snippet code in the dialog. The node will not be executable (it will be red) if the code contains syntax errors. This option is only for convenience, it does not have any effect on the output of this node.","optional":false},{"name":"Return type","description":"Specify here the resulting type of your code snippet. Unfortunately KNIME cannot determine what will be the correct return type - so you need to assist here.","optional":false},{"name":"Overwrite or define new variable","description":"Specify whether you want to overwrite an existing variable or define a new variable.","optional":false}]}],"links":[{"text":"KNIME Documentation: Creation and usage of flow variables in a KNIME workflow","url":"https://docs.knime.com/ap/latest/analytics_platform_flow_control_guide/#flow-variables"}],"kudos":[],"kudosCount":0,"bundleInformation":{"bundleVersion":"5.12.0.v202604301322","bundleName":"KNIME JavaScripting node","bundleSymbolicName":"org.knime.ext.sun","bundleVendor":"KNIME AG, Zurich, Switzerland","featureSymbolicName":"org.knime.features.javasnippet","featureName":"KNIME Javasnippet","featureVersion":"5.12.0.v202606171353","featureVendor":"KNIME AG, Zurich, Switzerland","extensionId":"*hXfYFyb7ZzM0xseG"},"frequentSuccessors":[{"id":"*Oy714gpoifm4PiOZ","factoryName":"org.knime.base.node.io.csvwriter.CSVWriterNodeFactory","probability":0.07126948775055679},{"id":"*x45ZKOUcy9y6aWbj","factoryName":"org.knime.ext.sun.nodes.script.node.editvar.JavaEditVariableNodeFactory","probability":0.051224944320712694},{"id":"*iwDu8kKWK5YB0F_q","factoryName":"org.knime.base.node.util.mergevariables.MergeVariablesNodeFactory","probability":0.0378619153674833},{"id":"*jd2U-FYTI8jCbQls","factoryName":"org.knime.base.node.preproc.filter.row.RowFilterNodeFactory","probability":0.031180400890868598},{"id":"*fK0j1K1mcusekRy2","factoryName":"org.knime.base.node.io.database.DBReaderNodeFactory","probability":0.026726057906458798},{"id":"*ZZgw0ZlV7y-sJIhe","factoryName":"org.knime.base.node.io.table.write.WriteTableNodeFactory","probability":0.026726057906458798},{"id":"*Y_8cAJatl5UQNkJy","factoryName":"org.knime.base.node.flowvariable.variabletotablerow2.VariableToTable2NodeFactory","probability":0.024498886414253896},{"id":"*UJGG6H71DePX6_-U","factoryName":"org.knime.base.node.switches.manualif.ManualIfNodeFactory","probability":0.022271714922048998},{"id":"*PHWv6FsABEjrSc76","factoryName":"org.knime.base.node.preproc.rename.RenameNodeFactory","probability":0.0200445434298441},{"id":"*8Mn_4LtrzrbzyAti","factoryName":"org.knime.base.node.io.filereader.FileReaderNodeFactory","probability":0.017817371937639197}]}
