SlideShare a Scribd company logo
1 of 11
Performing Simple Interactions 
Stian Soiland-Reyes and Christian Brenninkmeijer 
University of Manchester 
http://orcid.org/0000-0001-9842-9718 
http://orcid.org/0000-0002-2937-7819 
Bonn University, 2014-09-01 
http://www.taverna.org.uk/ This work is licensed under a 
Creative Commons Attribution 3.0 Unported License
Introduction 
 Taverna has the ability to take data from the workflow 
and pop up webpages asking the user for additional 
input while the workflow is running. 
 This simple Tutorial will show a few of the possible 
Interactions. 
 The interaction services can be found under available 
services/ Interactions
ASK 
 The “ask” service will pop up 
window displaying a message and 
a Textbox the user can fill in to 
return his answer. 
 Add an “ask” service to a new 
workflow 
 Add a constant value to the 
“message port” with the value 
“What is you name?” 
 Add a constant value to the “title 
port” with the vale “Name asking 
window”
CHOOSE 
 The “choose” service will pop up window 
displaying a message and a list of options the 
user can choose from. 
 Add an “choose” service to the workflow 
 Add a constant value to the “message port” with 
the value “Which Title shall I use?” 
 Add a constant value to the “title port” with the 
vale “Title asking window”
CHOOSE 
 Add a constant value to the “selectionValues” port with 
the value “Mr” 
 Now create another constant value service with the 
value “Mrs” 
 Connect the “Mrs” constant to the same 
“selectionValues” port 
 Notice how Taverna adds a merge between the two 
constants and the “selectionValues” port 
 You can click on this merge(circle) to see or change the 
order of the constants. 
 Add more title if you like.
CHOOSE
Tell 
 The “tell” service will pop up window displays a message 
 Add an “tell” service to a new workflow 
 Add a constant value to the “title port” with the vale “Result window” 
 Add a “Concatenate_two_strings” service 
 Hint: Local Services / Text 
 Connect the choose to String1 
 Connect the ask to String2 
 Add an output to the tell service.
Full workflow
Running the workflow 
 Run the workflow 
 Find in the Title and Name windows 
 They may open at the same time in different tabs. 
 Answer the questions 
 A Result window will appear with your title and name 
 Before selecting OK or Cancel go back to Taverna and look at the 
results view 
 Notice the workflow has NOT finished. 
 There is still a Running displayed and Tell is still a light colour 
 This shows that interactions will block workflows so be carefull 
especially in very long running workflows
Finish the workflow 
 If you select “Cancel” in any of the Interactions including 
the Results/Tell an Error will be passed to the next 
service. 
 Try this by pressing Cancel in the page showing your 
name and title. 
 Notice how the workflow finished but the output is an 
exception.
Conclusion 
 This was a very basic overview of the Interaction 
Services. 
 Where the value are known before the workflow 
starts to run Text constants or input ports will 
always be better. 
 But if the values comes from a previous service, 
then interactions are very useful. 
 For example to pick from a list of results from 
another service.

More Related Content

Similar to 2014 Taverna Tutorial Interactions

Create this program in visual studio C# The design of the form A text.pdf
Create this program in visual studio C# The design of the form A text.pdfCreate this program in visual studio C# The design of the form A text.pdf
Create this program in visual studio C# The design of the form A text.pdf
shyamsunder1211
 
Web Services Part 2
Web Services Part 2Web Services Part 2
Web Services Part 2
patinijava
 

Similar to 2014 Taverna Tutorial Interactions (20)

2014 Taverna tutorial REST and Biocatalogue
2014 Taverna tutorial REST and Biocatalogue2014 Taverna tutorial REST and Biocatalogue
2014 Taverna tutorial REST and Biocatalogue
 
2014 Taverna tutorial Advanced Taverna
2014 Taverna tutorial Advanced Taverna2014 Taverna tutorial Advanced Taverna
2014 Taverna tutorial Advanced Taverna
 
2014 Taverna Tutorial Biodiversity example
2014 Taverna Tutorial Biodiversity example2014 Taverna Tutorial Biodiversity example
2014 Taverna Tutorial Biodiversity example
 
2014 Taverna tutorial Spreadsheet import
2014 Taverna tutorial Spreadsheet import2014 Taverna tutorial Spreadsheet import
2014 Taverna tutorial Spreadsheet import
 
IMPACT/myGrid Hackathon - Introduction to Taverna
IMPACT/myGrid Hackathon - Introduction to TavernaIMPACT/myGrid Hackathon - Introduction to Taverna
IMPACT/myGrid Hackathon - Introduction to Taverna
 
2014 Taverna tutorial REST services
2014 Taverna tutorial REST services2014 Taverna tutorial REST services
2014 Taverna tutorial REST services
 
Cookbook Oracle SOA Business Rules
Cookbook Oracle SOA Business RulesCookbook Oracle SOA Business Rules
Cookbook Oracle SOA Business Rules
 
Create this program in visual studio C# The design of the form A text.pdf
Create this program in visual studio C# The design of the form A text.pdfCreate this program in visual studio C# The design of the form A text.pdf
Create this program in visual studio C# The design of the form A text.pdf
 
ETL Validator Usecase - Transformation logic in input data source
ETL Validator Usecase - Transformation logic in input data sourceETL Validator Usecase - Transformation logic in input data source
ETL Validator Usecase - Transformation logic in input data source
 
Rpt ppt
Rpt pptRpt ppt
Rpt ppt
 
Course 6 (part 2) data visualisation by toon vanagt
Course 6 (part 2)   data visualisation by toon vanagtCourse 6 (part 2)   data visualisation by toon vanagt
Course 6 (part 2) data visualisation by toon vanagt
 
Access tips access and sql part 5 more instant queries 1
Access tips  access and sql part 5  more instant queries 1Access tips  access and sql part 5  more instant queries 1
Access tips access and sql part 5 more instant queries 1
 
Web Services Part 2
Web Services Part 2Web Services Part 2
Web Services Part 2
 
Transfer Title Agency Encompass Mktg Presentation
Transfer Title Agency   Encompass Mktg PresentationTransfer Title Agency   Encompass Mktg Presentation
Transfer Title Agency Encompass Mktg Presentation
 
J developer 11g components ppt
J developer 11g components pptJ developer 11g components ppt
J developer 11g components ppt
 
Oracle OSB Tutorial 1
Oracle OSB Tutorial 1Oracle OSB Tutorial 1
Oracle OSB Tutorial 1
 
2014 Taverna tutorial Xpath
2014 Taverna tutorial Xpath2014 Taverna tutorial Xpath
2014 Taverna tutorial Xpath
 
Data weave
Data weaveData weave
Data weave
 
Dataweave Basic
Dataweave BasicDataweave Basic
Dataweave Basic
 
Data weave
Data weaveData weave
Data weave
 

More from myGrid team

More from myGrid team (9)

Taverna summary
Taverna summaryTaverna summary
Taverna summary
 
2014 Taverna Tutorial Introduction to eScience and workflows
2014 Taverna Tutorial Introduction to eScience and workflows2014 Taverna Tutorial Introduction to eScience and workflows
2014 Taverna Tutorial Introduction to eScience and workflows
 
2014 Taverna tutorial introduction to Taverna workflows
2014 Taverna tutorial introduction to Taverna workflows2014 Taverna tutorial introduction to Taverna workflows
2014 Taverna tutorial introduction to Taverna workflows
 
SWeDe - Scientific Webservice Description
SWeDe - Scientific Webservice DescriptionSWeDe - Scientific Webservice Description
SWeDe - Scientific Webservice Description
 
Taverna workflows in the cloud
Taverna workflows in the cloudTaverna workflows in the cloud
Taverna workflows in the cloud
 
The Taverna Software Suite
The Taverna Software SuiteThe Taverna Software Suite
The Taverna Software Suite
 
The Taverna Workflow Management Software Suite - Past, Present, Future
The Taverna Workflow Management Software Suite - Past, Present, FutureThe Taverna Workflow Management Software Suite - Past, Present, Future
The Taverna Workflow Management Software Suite - Past, Present, Future
 
2014-06-03-Taverna-IS-ENES2
2014-06-03-Taverna-IS-ENES22014-06-03-Taverna-IS-ENES2
2014-06-03-Taverna-IS-ENES2
 
The beauty of workflows and models
The beauty of workflows and modelsThe beauty of workflows and models
The beauty of workflows and models
 

Recently uploaded

%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 

Recently uploaded (20)

8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 

2014 Taverna Tutorial Interactions

  • 1. Performing Simple Interactions Stian Soiland-Reyes and Christian Brenninkmeijer University of Manchester http://orcid.org/0000-0001-9842-9718 http://orcid.org/0000-0002-2937-7819 Bonn University, 2014-09-01 http://www.taverna.org.uk/ This work is licensed under a Creative Commons Attribution 3.0 Unported License
  • 2. Introduction  Taverna has the ability to take data from the workflow and pop up webpages asking the user for additional input while the workflow is running.  This simple Tutorial will show a few of the possible Interactions.  The interaction services can be found under available services/ Interactions
  • 3. ASK  The “ask” service will pop up window displaying a message and a Textbox the user can fill in to return his answer.  Add an “ask” service to a new workflow  Add a constant value to the “message port” with the value “What is you name?”  Add a constant value to the “title port” with the vale “Name asking window”
  • 4. CHOOSE  The “choose” service will pop up window displaying a message and a list of options the user can choose from.  Add an “choose” service to the workflow  Add a constant value to the “message port” with the value “Which Title shall I use?”  Add a constant value to the “title port” with the vale “Title asking window”
  • 5. CHOOSE  Add a constant value to the “selectionValues” port with the value “Mr”  Now create another constant value service with the value “Mrs”  Connect the “Mrs” constant to the same “selectionValues” port  Notice how Taverna adds a merge between the two constants and the “selectionValues” port  You can click on this merge(circle) to see or change the order of the constants.  Add more title if you like.
  • 7. Tell  The “tell” service will pop up window displays a message  Add an “tell” service to a new workflow  Add a constant value to the “title port” with the vale “Result window”  Add a “Concatenate_two_strings” service  Hint: Local Services / Text  Connect the choose to String1  Connect the ask to String2  Add an output to the tell service.
  • 9. Running the workflow  Run the workflow  Find in the Title and Name windows  They may open at the same time in different tabs.  Answer the questions  A Result window will appear with your title and name  Before selecting OK or Cancel go back to Taverna and look at the results view  Notice the workflow has NOT finished.  There is still a Running displayed and Tell is still a light colour  This shows that interactions will block workflows so be carefull especially in very long running workflows
  • 10. Finish the workflow  If you select “Cancel” in any of the Interactions including the Results/Tell an Error will be passed to the next service.  Try this by pressing Cancel in the page showing your name and title.  Notice how the workflow finished but the output is an exception.
  • 11. Conclusion  This was a very basic overview of the Interaction Services.  Where the value are known before the workflow starts to run Text constants or input ports will always be better.  But if the values comes from a previous service, then interactions are very useful.  For example to pick from a list of results from another service.