Wil Koetsier wrote:
> Dear Taverna users and developers,

Hello,

> I need a beanshell service that takes three input parameters. Two of
> those should be optional, meaning that the user does not have to
> bother with supplying any value when running the workflow. I have been
> looking around in the Taverna manual and mailing list, but I haven't
> found a solution yet.

[snip]

> 2. use 'if (input1.equals(""))' in the beanshell and when running the
> workflow, click the input port, click add new value but then leave the
> textbox empty (or use the example value?). This works but is not
> desirable, the user should be able to not bother about this particular
> port at all.

[snip]

> Does anyone have an idea how to solve this?

I think that currently (2) is the only way to do it.  I'll ask around 
and if I'm not missing something, then I'll add it into Jira.

> Many thanks,
> Wil

Alan

------------------------------------------------------------------------------

_______________________________________________
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/

Reply via email to