Hi Thomas, Would you please show some example with access to dataset of main workflow from edge condition in subworkflow.
Because any changes that involved into workflow not solve this problem - I can't get access to maindataset from subworkflow :( Again and again I get error: Referenced databit not available. Greetings, Vasyl -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Schmidt Sent: Monday, August 21, 2006 7:40 PM To: swamp-devel@lists.sourceforge.net Subject: Re: [swamp-devel] access to Main DATASET from subworkflows Vasyl Matyashovskyy schrieb: > Hi, I've corrected my workflows but get error again: > > MAIN workflow: > ... defaultdataset="sitedevelopment" ... > ... > <!-- Attached data of the workflow --> > <dataset name="sitedevelopment" description="Main dataset"> > ... > <dataset name="flag" description="flags"> > <databit name="site_developed" description="Flag" type="boolean"/> > </dataset> > ... > </dataset> > > > SUB1 workflow: > ... defaultdataset="sitedevelopment" ... > ... > <!-- Attached data of the workflow --> > <dataset name="sub1" description="Sub1 dataset"> > ... > </dataset> > > In the SUB1 workflow I need check condition in edge: > <edge to="NODE4"> > <data check="regexp" field="sitedevelopment.flag.site_developed" > value="true"/> > </edge> > > But I get an error: > Default dataset sitedevelopment not available! > > If I try to get access from <scriptaction> block to > sitedevelopment.flag.site_developed databit - I get it. But if I try to > access from edge condition - I failed. > > Where is my mistake? The subworkflow definition must read: ... defaultdataset="sub1" ... because the verifier does not know that there will be a parent workflow. Greetings -- Thomas Schmidt (tschmidt [at] suse.de) SUSE Linux Products GmbH :: Research & Development :: Internal Tools "memory management can be a bitch" (linux/kernel/fork.c:11) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ swamp-devel mailing list swamp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/swamp-devel http://swamp.sf.net ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ swamp-devel mailing list swamp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/swamp-devel http://swamp.sf.net