Trying to use Groovy some more.

Using arrays gets blocked.

<node name="arrayInTest">
                <description>Passing in an array.</description>
                <scriptaction name="arrayInTestAction"
language="groovy">
                        <description>Passing in an array</description>
                        <script>
                        <![CDATA[
                        x=[1,2]
wf.getDatabit("test.result_arrayInTest").setValue("arrayInTest");
                        ]]>
        </script>
                </scriptaction>
                <edge to="arrayOutTest" event="none"/>
        </node>

        Scriptaction: arrayInTestAction contains errors: startup failed,
Script1.groovy: 1: unexpected token: wf @ line 1, column 10. 1 error

Any recommended fixes?
 
     This message may contain privileged and/or confidential information.  If 
you have received this e-mail in error or are not the intended recipient, you 
may not use, copy, disseminate or distribute it; do not open any attachments, 
delete it immediately from your system and notify the sender promptly by e-mail 
that you have done so.  Thank you.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
swamp-devel mailing list
swamp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swamp-devel
http://swamp.sf.net 

Reply via email to