<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?action=history&amp;feed=atom&amp;title=Script</id>
	<title>Script - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?action=history&amp;feed=atom&amp;title=Script"/>
	<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=Script&amp;action=history"/>
	<updated>2026-05-03T08:56:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.7</generator>
	<entry>
		<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?title=Script&amp;diff=4319&amp;oldid=prev</id>
		<title>G.dimaio: /* Description */</title>
		<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=Script&amp;diff=4319&amp;oldid=prev"/>
		<updated>2015-01-02T10:19:59Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 10:19, 2 January 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot; &gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Following an example of a script implementing the toUpperCase service:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Following an example of a script implementing the toUpperCase service:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;GVOperationNode class=&amp;quot;it.greenvulcano.gvesb.core.flow.GVOperationNode&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;GVOperationNode class=&amp;quot;it.greenvulcano.gvesb.core.flow.GVOperationNode&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;				 &lt;/del&gt;id=&amp;quot;call_server&amp;quot; id-system=&amp;quot;GVESB&amp;quot; input=&amp;quot;input&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  &lt;/ins&gt;id=&amp;quot;call_server&amp;quot; id-system=&amp;quot;GVESB&amp;quot; input=&amp;quot;input&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;				 &lt;/del&gt;next-node-id=&amp;quot;end&amp;quot; op-type=&amp;quot;call&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  &lt;/ins&gt;next-node-id=&amp;quot;end&amp;quot; op-type=&amp;quot;call&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;				 &lt;/del&gt;operation-name=&amp;quot;echo_call&amp;quot; output=&amp;quot;output&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  &lt;/ins&gt;operation-name=&amp;quot;echo_call&amp;quot; output=&amp;quot;output&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;				 &lt;/del&gt;point-x=&amp;quot;186&amp;quot; point-y=&amp;quot;152&amp;quot; type=&amp;quot;flow-node&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  &lt;/ins&gt;point-x=&amp;quot;186&amp;quot; point-y=&amp;quot;152&amp;quot; type=&amp;quot;flow-node&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;	&lt;/del&gt;&amp;lt;OutputServices&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &lt;/ins&gt;&amp;lt;OutputServices&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;		&lt;/del&gt;&amp;lt;java-script-service critical=&amp;quot;yes&amp;quot; internal=&amp;quot;yes&amp;quot; type=&amp;quot;service&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;/ins&gt;&amp;lt;java-script-service critical=&amp;quot;yes&amp;quot; internal=&amp;quot;yes&amp;quot; type=&amp;quot;service&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;			&lt;/del&gt;&amp;lt;java-script-call class=&amp;quot;it.greenvulcano.gvesb.virtual.internal.JSCallOperation&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;/ins&gt;&amp;lt;java-script-call class=&amp;quot;it.greenvulcano.gvesb.virtual.internal.JSCallOperation&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;							&amp;#160; &lt;/del&gt;name=&amp;quot;toupper&amp;quot; type=&amp;quot;call&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;/ins&gt;name=&amp;quot;toupper&amp;quot; type=&amp;quot;call&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;				&lt;/del&gt;&amp;lt;Script&amp;gt;root.setObject(root.getObject().toUpperCase());&amp;lt;/Script&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;/ins&gt;&amp;lt;Script&amp;gt;root.setObject(root.getObject().toUpperCase());&amp;lt;/Script&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;			&lt;/del&gt;&amp;lt;/java-script-call&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;/ins&gt;&amp;lt;/java-script-call&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;		&lt;/del&gt;&amp;lt;/java-script-service&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;/ins&gt;&amp;lt;/java-script-service&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;	&lt;/del&gt;&amp;lt;/OutputServices&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &lt;/ins&gt;&amp;lt;/OutputServices&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/GVOperationNode&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/GVOperationNode&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>G.dimaio</name></author>
		
	</entry>
	<entry>
		<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?title=Script&amp;diff=4316&amp;oldid=prev</id>
		<title>G.dimaio: Created page with &quot;==Description==  &lt;div class=&quot;version_lt3.5&quot;&gt; The content defines a JavaScript script. This script is applied to the current GVBuffer object.  Within a node ChangeGVBuffer...&quot;</title>
		<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=Script&amp;diff=4316&amp;oldid=prev"/>
		<updated>2015-01-02T09:03:51Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Description==  &amp;lt;div class=&amp;quot;version_lt3.5&amp;quot;&amp;gt; The content defines a JavaScript script. This script is applied to the current &lt;a href=&quot;/gvwiki/index.php?title=GVBuffer&quot; title=&quot;GVBuffer&quot;&gt;GVBuffer&lt;/a&gt; object.  Within a node &lt;a href=&quot;/gvwiki/index.php?title=ChangeGVBuffer&quot; title=&quot;ChangeGVBuffer&quot;&gt;ChangeGVBuffer&lt;/a&gt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_lt3.5&amp;quot;&amp;gt;&lt;br /&gt;
The content defines a JavaScript script. This script is applied to the current [[GVBuffer]] object.&lt;br /&gt;
&lt;br /&gt;
Within a node [[ChangeGVBuffer]] is used for script execution, execution environment map is added to the script context as 'environment' property and the current input object is added as 'data' property.&lt;br /&gt;
&lt;br /&gt;
The element value cannot be null.&lt;br /&gt;
&lt;br /&gt;
The Script Element is used by [[ChangeGVBuffer]] and [[GVOperationNode#java-script-call|java-script-call]].&lt;br /&gt;
&lt;br /&gt;
Following an example of a script implementing the toUpperCase service:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;GVOperationNode class=&amp;quot;it.greenvulcano.gvesb.core.flow.GVOperationNode&amp;quot;&lt;br /&gt;
				 id=&amp;quot;call_server&amp;quot; id-system=&amp;quot;GVESB&amp;quot; input=&amp;quot;input&amp;quot;&lt;br /&gt;
				 next-node-id=&amp;quot;end&amp;quot; op-type=&amp;quot;call&amp;quot;&lt;br /&gt;
				 operation-name=&amp;quot;echo_call&amp;quot; output=&amp;quot;output&amp;quot;&lt;br /&gt;
				 point-x=&amp;quot;186&amp;quot; point-y=&amp;quot;152&amp;quot; type=&amp;quot;flow-node&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;OutputServices&amp;gt;&lt;br /&gt;
		&amp;lt;java-script-service critical=&amp;quot;yes&amp;quot; internal=&amp;quot;yes&amp;quot; type=&amp;quot;service&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;java-script-call class=&amp;quot;it.greenvulcano.gvesb.virtual.internal.JSCallOperation&amp;quot;&lt;br /&gt;
							  name=&amp;quot;toupper&amp;quot; type=&amp;quot;call&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;Script&amp;gt;root.setObject(root.getObject().toUpperCase());&amp;lt;/Script&amp;gt;&lt;br /&gt;
			&amp;lt;/java-script-call&amp;gt;&lt;br /&gt;
		&amp;lt;/java-script-service&amp;gt;&lt;br /&gt;
	&amp;lt;/OutputServices&amp;gt;&lt;br /&gt;
&amp;lt;/GVOperationNode&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
The content defines a generic script. This script is applied to the current [[GVBuffer]] object or other objects, depending the containing context.&lt;br /&gt;
&lt;br /&gt;
Within a node [[ChangeGVBuffer]] is used for script execution, execution environment map is added to the script context as 'environment' property and the current input object is added as 'data' property. The properties access syntax is language-dependent.&lt;br /&gt;
&lt;br /&gt;
The element value cannot be null. If defined the 'file' attribute overrides the contained script.&lt;br /&gt;
&lt;br /&gt;
The Script Element is used by [[ChangeGVBuffer]], [[GVOperationNode#script-call|script-call]], [[ResultProcessor]], [[ScriptCondition]], [[ScriptDecoder]], [[ScriptEncoder]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following table shows the Script element's attributes:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| lang || required || The script engine to use. References a [[GVScriptConfig#ScriptEngines|GVScriptConfig]] Engine.&lt;br /&gt;
|-&lt;br /&gt;
| base-context || optional || This attribute defines the 'context' to be used for script execution. If not set, the default context is inherited from the specific 'lang' configuration. References a [[GVScriptConfig#BaseContext|GVScriptConfig]] BaseContext.&lt;br /&gt;
|-&lt;br /&gt;
| file || optional || This attribute is the name of a file containing the script to execute. The file path must be relative to $GV_HOME/scripts.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Following an example of a JavaScript script implementing the toUpperCase service:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;GVOperationNode class=&amp;quot;it.greenvulcano.gvesb.core.flow.GVOperationNode&amp;quot;&lt;br /&gt;
                 id=&amp;quot;call_server&amp;quot; id-system=&amp;quot;GVESB&amp;quot; input=&amp;quot;input&amp;quot;&lt;br /&gt;
                 next-node-id=&amp;quot;end&amp;quot; op-type=&amp;quot;call&amp;quot;&lt;br /&gt;
                 operation-name=&amp;quot;echo_call&amp;quot; output=&amp;quot;output&amp;quot;&lt;br /&gt;
                 point-x=&amp;quot;186&amp;quot; point-y=&amp;quot;152&amp;quot; type=&amp;quot;flow-node&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;OutputServices&amp;gt;&lt;br /&gt;
        &amp;lt;script-service critical=&amp;quot;yes&amp;quot; internal=&amp;quot;yes&amp;quot; type=&amp;quot;service&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;script-call class=&amp;quot;it.greenvulcano.gvesb.virtual.internal.ScriptCallOperation&amp;quot;&lt;br /&gt;
                         name=&amp;quot;toupper&amp;quot; type=&amp;quot;call&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;Script lang=&amp;quot;js&amp;quot;&amp;gt;data.setObject(data.getObject().toUpperCase());&amp;lt;/Script&amp;gt;&lt;br /&gt;
            &amp;lt;/script-call&amp;gt;&lt;br /&gt;
        &amp;lt;/script-service&amp;gt;&lt;br /&gt;
    &amp;lt;/OutputServices&amp;gt;&lt;br /&gt;
&amp;lt;/GVOperationNode&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
The previous example using a OGNL script:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;GVOperationNode class=&amp;quot;it.greenvulcano.gvesb.core.flow.GVOperationNode&amp;quot;&lt;br /&gt;
                 id=&amp;quot;call_server&amp;quot; id-system=&amp;quot;GVESB&amp;quot; input=&amp;quot;input&amp;quot;&lt;br /&gt;
                 next-node-id=&amp;quot;end&amp;quot; op-type=&amp;quot;call&amp;quot;&lt;br /&gt;
                 operation-name=&amp;quot;echo_call&amp;quot; output=&amp;quot;output&amp;quot;&lt;br /&gt;
                 point-x=&amp;quot;186&amp;quot; point-y=&amp;quot;152&amp;quot; type=&amp;quot;flow-node&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;OutputServices&amp;gt;&lt;br /&gt;
        &amp;lt;script-service critical=&amp;quot;yes&amp;quot; internal=&amp;quot;yes&amp;quot; type=&amp;quot;service&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;script-call class=&amp;quot;it.greenvulcano.gvesb.virtual.internal.ScriptCallOperation&amp;quot;&lt;br /&gt;
                         name=&amp;quot;toupper&amp;quot; type=&amp;quot;call&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;Script lang=&amp;quot;ognl&amp;quot;&amp;gt;#data.object = #data.object.toUpperCase()&amp;lt;/Script&amp;gt;&lt;br /&gt;
            &amp;lt;/script-call&amp;gt;&lt;br /&gt;
        &amp;lt;/script-service&amp;gt;&lt;br /&gt;
    &amp;lt;/OutputServices&amp;gt;&lt;br /&gt;
&amp;lt;/GVOperationNode&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>G.dimaio</name></author>
		
	</entry>
</feed>