Vasyl Matyashovskyy schrieb: > Hi Thomas! > > I have the "MAIN" workflow(here are described all dataset "sitedevelopment") > and run from it sub workflow "SUBWORKFLOW" > The name defaultdataset="sitedevelopment" are pointed in both workflows, > but I meet difficulty. I can't get access to Databit of the parent workflow > from Subworkflow. I get error message when make "Reload all templates": > > Workflow SUBWORKFLOW: > Referenced databit: sitedevelopment.flag.site_developed not available. > > Workflow MAIN: > Workflow validation passed.
Hi, the subworkflow must have its own dataset referenced by defaultdataset=... to validate. The dataset of the main workflow will automatically get attached to the subworkflow when it is started (with its original name). So the subworkflow will have access to both datasets then. > > I've uses code: > > <edge to="NODE4"> > <data check="regexp" field="sitedevelopment.flag.site_developed" > value="true"/> > </edge> > > Please help to solve this appear difficulty. > > Maybe I need to point somewhere in my "SUBWORKFLOW" that this is subworkflow > of the MAIN workflow? I have some code in the development version that tells the verifier that a workflow is a subworkflow. This makes it easier to check access to the parents workflows databits. Greetings -- Thomas Schmidt (tschmidt [at] suse.de) SUSE Linux Products GmbH :: Research & Development :: Internal Tools "A strange game. The only winning move is not to play.", Wargames ------------------------------------------------------------------------- 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