[kepler-dev] SampleDelay Actor Query

subhav mital mital.subhav at gmail.com
Tue Apr 20 16:47:44 PDT 2010


Hi,

Please find attached my workflow is currently giving some errors which I am
unable to ascertain why
?

I wish to simulate the following:

Move from Stage 0 to Stage 1. At the end of Stage 2, it must prompt the user
with an option to either execute Stage 1 (the next stage) or execute the
previous stage again.

Is there any better way to do this? (Would be glad to know) As of now, both
sides of the branches get executed, despite putting the condition for each
branch. (i.e input==1 perform xyz else perform abc if input==0).

I have tried all actors and directors but get some error. Would be glad if
someone can help in this and suggest ways to proceed?


Thanks,
Subhav




On Mon, Apr 5, 2010 at 3:39 AM, Jianwu Wang <jianwu at sdsc.edu> wrote:

>  Hi Subhav,
>
>     I'm not familiar with Sample Delay Actor. Maybe some one else can help.
>
>     About yhour workflow pausing until some condition is met. It seems to
> me that you can use 'Boolean Switch' to do it. Let the false branch be
> connected to its input, so that the 'Boolean Switch' actor will wait for
> another condition if the current condition is false. The true branch will be
> connected to the sub-workflow you want to execute.
>
>     I attached a sample workflow using  'Boolean Switch' and 'Interactive
> Shell' actor. Yet one weird phenomena of its execution is that the output is
> according to the previous input in 'Interactive Shell', not the current one.
> I'll keep digging it.
>
> Best wishes
>
> Sincerely yours
>
> Jianwu Wangjianwu at sdsc.eduhttp://users.sdsc.edu/~jianwu/
>
> Scientific Workflow Automation Technologies (SWAT) Laboratory
> San Diego Supercomputer Center
> University of California, San Diego
> San Diego, CA, U.S.A.
>
>
> On 4/4/2010 5:15 PM, subhav mital wrote:
>
> Alternatively, is there any actor that "pauses" the workflow until some
> condition is met?
>
>  ie. Similar to a flag value which upon getting reset (0), halts the
> workflow and upon getting set (1) resumes the workflow.
>
>  Thanks.
>
>
> On Sun, Apr 4, 2010 at 8:09 PM, subhav mital <mital.subhav at gmail.com>wrote:
>
>> Hi,
>>
>>  I wish to use the Sample Delay Actor but am confused how is it used to
>> resolve deadlocks? Please let me know if there is any sample demo of this?
>>
>>  Moreover, the documentation of interactive shell actor states: "The
>> actor is typically preceded by a SampleDelay actor, which provides an
>> initial welcome message or instructions"
>>
>>  Any explanation on how to incorporate these welcome messages?
>>
>>  Thanks...
>>
>>
>
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at kepler-project.orghttp://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20100420/af2a116d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MultiBranching.xml
Type: text/xml
Size: 60139 bytes
Desc: not available
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20100420/af2a116d/attachment-0001.xml>


More information about the Kepler-dev mailing list