On 19/01/2012 14:04, Prashant Bandal wrote: > Hi, Hello
> I want to create a workflow programmatically using Taverna 2.3 API. > I tried following code but I am not able to create a workflow. > > Code: [snip of code] > I am not able to connect the workflow input to the processor and the > processor to the workflow output. You need to connect from the internal output port of the workflow input (and to the internal input port of the workflow output). If you look at net.sf.taverna.t2.workflowmodel.DataflowInputPort it has the method getInternalOutputPort which returns an EventForwardingOutputPort which can be used as the source of the datalink. > Please give me inputs. It is worth looking at net.sf.taverna.t2.ui.menu.items.activityport.CreateAndConnectDataflowPortAction > Thank you. > > Regards, > Prashant Bandal Alan ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ taverna-users mailing list [email protected] [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/about/contact-us/
