You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by Hasitha Aravinda <ma...@gmail.com> on 2012/07/08 05:51:15 UTC
Help needed for Creating Sample Workflows
Hi Devs,
I want to create some sample workflows to cover following scenarios to test
the workflow debugger module.
- a workflow which has a If Component.
- a Workflow which has a Dynamic Component.
- a Workflow which has sub workflows. (hierarchal workflows)
- a Workflow which has a Do While Component.
But I don't know how to use "If, DoWhile, Dynamic" etc. like components
using Xbaya. I tried, but failed. Can any one help me to use those
components using XBaya ? So I can create sample workflows for my self.
Thank you,
Hasitha.
Re: Help needed for Creating Sample Workflows
Posted by Saminda Wijeratne <sa...@gmail.com>.
Can you explain the issue you faced with the workflow? If its a bug we need
to fix it... Atleast there will be a missing instruction we may have to fix.
On Mon, Jul 9, 2012 at 8:10 AM, Hasitha Aravinda
<ma...@gmail.com>wrote:
> Hi Raminderjeet,
>
> Thanks Raminderjeet for your detailed explanation and the sample workflow.
> It was really helpful for me to understand the basics of the DoWhile
> condition.
>
> But I faced some difficulties to run your sample, since I wasn't able
> register whileservice.sh application successfully using XBaya. But I
> created another workflow by looking at your sample workflow and was able to
> run it without an error.
>
> Thank you,
> Hasitha.
>
> On Sun, Jul 8, 2012 at 10:01 PM, Raminderjeet Singh <
> raminderjsingh@gmail.com> wrote:
>
> > I added the workflow and sample script to test Dowhile. Working of
> > DoWhile is: The default input for the application is 0 and DoWhile
> > condition have a check for value 1.It will run the service 1st time
> without
> > validating any expression and after that it verify the expression defined
> > at DoWhile Node. When the expression is true (which is $1 = '1') in
> sample
> > workflow it runs the service again until the expression becomes false.
> > Please let me know if you have any questions.
> >
> > Thanks
> > Raminder
> >
> >
> > On Jul 8, 2012, at 11:58 AM, Hasitha Aravinda wrote:
> >
> > > Hi Raminderjeet,
> > >
> > > Since currently Airavata documentation doesn’t have tutorials
> describing
> > > general XBaya use cases like above, I have created AIRAVATA-513
> > > [1]<https://issues.apache.org/jira/browse/AIRAVATA-513>to track this
> > > issue. So you can use [1] to attach your test workflow. Thank
> > > you Raminderjeet, giving your valuable time to create a sample workflow
> > for
> > > me.
> > >
> > > Thanks,
> > > Hasitha.
> > >
> > > [1] https://issues.apache.org/jira/browse/AIRAVATA-513
> > >
> > > On Sun, Jul 8, 2012 at 6:38 PM, Raminderjeet Singh <
> > raminderjsingh@gmail.com
> > >> wrote:
> > >
> > >> Hi Hasitha,
> > >>
> > >> I have a plan to add DoWhile sample workflow and test application. I
> > will
> > >> work on this next week. If there is a JIRA task currently for sample.
> i
> > can
> > >> upload a test workflow quickly.
> > >>
> > >> Thanks
> > >> Raminder
> > >>
> > >>
> > >> On Jul 7, 2012, at 11:51 PM, Hasitha Aravinda wrote:
> > >>
> > >>> Hi Devs,
> > >>>
> > >>> I want to create some sample workflows to cover following scenarios
> to
> > >> test
> > >>> the workflow debugger module.
> > >>>
> > >>> - a workflow which has a If Component.
> > >>> - a Workflow which has a Dynamic Component.
> > >>> - a Workflow which has sub workflows. (hierarchal workflows)
> > >>> - a Workflow which has a Do While Component.
> > >>>
> > >>> But I don't know how to use "If, DoWhile, Dynamic" etc. like
> components
> > >>> using Xbaya. I tried, but failed. Can any one help me to use those
> > >>> components using XBaya ? So I can create sample workflows for my
> self.
> > >>>
> > >>> Thank you,
> > >>> Hasitha.
> > >>
> > >>
> >
> >
>
Re: Help needed for Creating Sample Workflows
Posted by Hasitha Aravinda <ma...@gmail.com>.
Hi Raminderjeet,
Thanks Raminderjeet for your detailed explanation and the sample workflow.
It was really helpful for me to understand the basics of the DoWhile
condition.
But I faced some difficulties to run your sample, since I wasn't able
register whileservice.sh application successfully using XBaya. But I
created another workflow by looking at your sample workflow and was able to
run it without an error.
Thank you,
Hasitha.
On Sun, Jul 8, 2012 at 10:01 PM, Raminderjeet Singh <
raminderjsingh@gmail.com> wrote:
> I added the workflow and sample script to test Dowhile. Working of
> DoWhile is: The default input for the application is 0 and DoWhile
> condition have a check for value 1.It will run the service 1st time without
> validating any expression and after that it verify the expression defined
> at DoWhile Node. When the expression is true (which is $1 = '1') in sample
> workflow it runs the service again until the expression becomes false.
> Please let me know if you have any questions.
>
> Thanks
> Raminder
>
>
> On Jul 8, 2012, at 11:58 AM, Hasitha Aravinda wrote:
>
> > Hi Raminderjeet,
> >
> > Since currently Airavata documentation doesn’t have tutorials describing
> > general XBaya use cases like above, I have created AIRAVATA-513
> > [1]<https://issues.apache.org/jira/browse/AIRAVATA-513>to track this
> > issue. So you can use [1] to attach your test workflow. Thank
> > you Raminderjeet, giving your valuable time to create a sample workflow
> for
> > me.
> >
> > Thanks,
> > Hasitha.
> >
> > [1] https://issues.apache.org/jira/browse/AIRAVATA-513
> >
> > On Sun, Jul 8, 2012 at 6:38 PM, Raminderjeet Singh <
> raminderjsingh@gmail.com
> >> wrote:
> >
> >> Hi Hasitha,
> >>
> >> I have a plan to add DoWhile sample workflow and test application. I
> will
> >> work on this next week. If there is a JIRA task currently for sample. i
> can
> >> upload a test workflow quickly.
> >>
> >> Thanks
> >> Raminder
> >>
> >>
> >> On Jul 7, 2012, at 11:51 PM, Hasitha Aravinda wrote:
> >>
> >>> Hi Devs,
> >>>
> >>> I want to create some sample workflows to cover following scenarios to
> >> test
> >>> the workflow debugger module.
> >>>
> >>> - a workflow which has a If Component.
> >>> - a Workflow which has a Dynamic Component.
> >>> - a Workflow which has sub workflows. (hierarchal workflows)
> >>> - a Workflow which has a Do While Component.
> >>>
> >>> But I don't know how to use "If, DoWhile, Dynamic" etc. like components
> >>> using Xbaya. I tried, but failed. Can any one help me to use those
> >>> components using XBaya ? So I can create sample workflows for my self.
> >>>
> >>> Thank you,
> >>> Hasitha.
> >>
> >>
>
>
Re: Help needed for Creating Sample Workflows
Posted by Raminderjeet Singh <ra...@gmail.com>.
I added the workflow and sample script to test Dowhile. Working of DoWhile is: The default input for the application is 0 and DoWhile condition have a check for value 1.It will run the service 1st time without validating any expression and after that it verify the expression defined at DoWhile Node. When the expression is true (which is $1 = '1') in sample workflow it runs the service again until the expression becomes false. Please let me know if you have any questions.
Thanks
Raminder
On Jul 8, 2012, at 11:58 AM, Hasitha Aravinda wrote:
> Hi Raminderjeet,
>
> Since currently Airavata documentation doesn’t have tutorials describing
> general XBaya use cases like above, I have created AIRAVATA-513
> [1]<https://issues.apache.org/jira/browse/AIRAVATA-513>to track this
> issue. So you can use [1] to attach your test workflow. Thank
> you Raminderjeet, giving your valuable time to create a sample workflow for
> me.
>
> Thanks,
> Hasitha.
>
> [1] https://issues.apache.org/jira/browse/AIRAVATA-513
>
> On Sun, Jul 8, 2012 at 6:38 PM, Raminderjeet Singh <raminderjsingh@gmail.com
>> wrote:
>
>> Hi Hasitha,
>>
>> I have a plan to add DoWhile sample workflow and test application. I will
>> work on this next week. If there is a JIRA task currently for sample. i can
>> upload a test workflow quickly.
>>
>> Thanks
>> Raminder
>>
>>
>> On Jul 7, 2012, at 11:51 PM, Hasitha Aravinda wrote:
>>
>>> Hi Devs,
>>>
>>> I want to create some sample workflows to cover following scenarios to
>> test
>>> the workflow debugger module.
>>>
>>> - a workflow which has a If Component.
>>> - a Workflow which has a Dynamic Component.
>>> - a Workflow which has sub workflows. (hierarchal workflows)
>>> - a Workflow which has a Do While Component.
>>>
>>> But I don't know how to use "If, DoWhile, Dynamic" etc. like components
>>> using Xbaya. I tried, but failed. Can any one help me to use those
>>> components using XBaya ? So I can create sample workflows for my self.
>>>
>>> Thank you,
>>> Hasitha.
>>
>>
Re: Help needed for Creating Sample Workflows
Posted by Hasitha Aravinda <ma...@gmail.com>.
Hi Raminderjeet,
Since currently Airavata documentation doesn’t have tutorials describing
general XBaya use cases like above, I have created AIRAVATA-513
[1]<https://issues.apache.org/jira/browse/AIRAVATA-513>to track this
issue. So you can use [1] to attach your test workflow. Thank
you Raminderjeet, giving your valuable time to create a sample workflow for
me.
Thanks,
Hasitha.
[1] https://issues.apache.org/jira/browse/AIRAVATA-513
On Sun, Jul 8, 2012 at 6:38 PM, Raminderjeet Singh <raminderjsingh@gmail.com
> wrote:
> Hi Hasitha,
>
> I have a plan to add DoWhile sample workflow and test application. I will
> work on this next week. If there is a JIRA task currently for sample. i can
> upload a test workflow quickly.
>
> Thanks
> Raminder
>
>
> On Jul 7, 2012, at 11:51 PM, Hasitha Aravinda wrote:
>
> > Hi Devs,
> >
> > I want to create some sample workflows to cover following scenarios to
> test
> > the workflow debugger module.
> >
> > - a workflow which has a If Component.
> > - a Workflow which has a Dynamic Component.
> > - a Workflow which has sub workflows. (hierarchal workflows)
> > - a Workflow which has a Do While Component.
> >
> > But I don't know how to use "If, DoWhile, Dynamic" etc. like components
> > using Xbaya. I tried, but failed. Can any one help me to use those
> > components using XBaya ? So I can create sample workflows for my self.
> >
> > Thank you,
> > Hasitha.
>
>
Re: Help needed for Creating Sample Workflows
Posted by Raminderjeet Singh <ra...@gmail.com>.
Hi Hasitha,
I have a plan to add DoWhile sample workflow and test application. I will work on this next week. If there is a JIRA task currently for sample. i can upload a test workflow quickly.
Thanks
Raminder
On Jul 7, 2012, at 11:51 PM, Hasitha Aravinda wrote:
> Hi Devs,
>
> I want to create some sample workflows to cover following scenarios to test
> the workflow debugger module.
>
> - a workflow which has a If Component.
> - a Workflow which has a Dynamic Component.
> - a Workflow which has sub workflows. (hierarchal workflows)
> - a Workflow which has a Do While Component.
>
> But I don't know how to use "If, DoWhile, Dynamic" etc. like components
> using Xbaya. I tried, but failed. Can any one help me to use those
> components using XBaya ? So I can create sample workflows for my self.
>
> Thank you,
> Hasitha.