lib/cpee/processtransformation/cpee.rb in cpee-1.3.178 vs lib/cpee/processtransformation/cpee.rb in cpee-1.3.179
- old
+ new
@@ -52,10 +52,10 @@
s1
end
def print_Node(node,res)
if node.endpoints.empty? && !node.script.nil? && node.script.strip != ''
- n = res.add('d:manipulate', 'id' => "a#{node.niceid}", node.script)
+ n = res.add('d:manipulate', node.script, 'id' => "a#{node.niceid}")
n.attributes['output'] = node.script_var unless node.script_var.nil?
n.attributes['language'] = node.script_type unless node.script_type.nil?
else
n = res.add('d:call', 'id' => "a#{node.niceid}", 'endpoint' => node.endpoints.join(','))
p = n.add('d:parameters')