Perhaps an important question is what happens on the second piece of
data, and what happens to the workflow outputs?


Does the workflow finish after processing the first piece of data, or
is it to 'loop forever' and process data whenever it's ready to be
consumed?

Alan's suggestion will do the first piece, while you could achieve
loop-forever this by putting your processing workflow as a nested
workflow, and in the parent workflow, in Advanced->Looping configure
the nested workflow service to run forever, with a delay of say 1s.


Alternatively you can start each workflow run individually using the
Taverna Server REST API (or the Taverna Command line), calling it from
the third-party system. Another side-benefit of this is that it would
allow multiple runs in parallel compared to the loop-forever idea, and
you would put the third-party system more in control.


On Tue, Jan 25, 2011 at 13:37, Guzmán Llambías - INCO
<[email protected]> wrote:
> yes that's an option. I was thinking something using a push strategy instead
> of polling data. Something like the pick activity of ws-bpel process
>
>
>
> ----- Original Message -----
> From: "Alan R Williams" <[email protected]>
> To: <[email protected]>
> Sent: Tuesday, January 25, 2011 11:34 AM
> Subject: Re: [Taverna-hackers] [Taverna server] Workflow event Listeners
>
>
>> On 25/01/2011 11:36, Guzmán Llambías - INCO wrote:
>>> We have a third party system that will produce input data for our
>>> workflows
>>> and live it somewhere, so after the inputs are ready, we want to start a
>>> taverna workflow automaticaly with this inputs.
>>
>> You could do this with a beanshell that tries to read the data. If the
>> data is not there then sleep and then loop.  If it is there then send it
>> to the output port of the beanshell where it will go into the rest of
>> the workflow.
>>
>> Alan
>>
>> ------------------------------------------------------------------------------
>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>> Finally, a world-class log management solution at an even better
>> price-free!
>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>> February 28th, so secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsight-sfd2d
>> _______________________________________________
>> 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/
>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> 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/
>



-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
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/

Reply via email to