Dennis Neumann wrote: > Thanks for your replies! > That is exactly what I want to do: find out information about the owning > workflow.
Is that just the workflow, or do you care about identifying which workflow run? > I looked at the tutorial at > http://www.mygrid.org.uk/dev/wiki/display/developer/Creating+plugins+for+Taverna+2. > > Would this be the right kind of plugin for me? That is normally used for creating a new activity / service type. If you only need to access the information from within a beanshell, then it would be easier to sub-class the beanshell activity. Before the beanshell activity runs the script, it sets variables corresponding to the input ports to the data that is being pushed into that port. You could in your extended beanshell, add a variable that is set to the information you need. I think you would add the variable binding at line 167 of (your extended version of) BeanshellActivity.java. Alan ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ taverna-hackers mailing list [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/about/contact-us/ Developers Guide: http://www.taverna.org.uk/developers/
