airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saminda Wijeratne <samin...@gmail.com>
Subject Running workflow using Airavata API
Date Tue, 20 Nov 2012 21:22:18 GMT
A workflow is identified using the name of the workflow called the
workflowTemplateId. Given this workflow is present in the Airavata system
we can invoke a workflow as follows,

AiravataAPI airavataAPI = ....
String workflowTemplateId="...

//setup inputs for the workflow
List<WorkflowInput> workflowInputs = new ArrayList<WorkflowInput>();
workflowInputs.add(new WorkflowInputs("parameter1","value1"));
workflowInputs.add(new WorkflowInputs("parameter2",42));
....

To run a workflow we use the execution managers in the Airavata API. We
call this as running an experiment. An experiment is defined as running one
or more workflows. Right now Airavata supports running one workflow per
experiment as follows,

//run the workflow
airavataAPI.getExecutionManager().runExperiment(templateId, workflowInputs);

Regards,
Saminda

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message