Skip to contents

activates a series of `Tasks` from a `Workflow`

Usage

activateWorkflowTasks(workflow, tasks = workflow$getAllTasks())

Arguments

workflow

A `Workflow` object

tasks

names of the tasks to activate Default activates all tasks of the workflow using workflow method `workflow$getAllTasks()`

Examples

if (FALSE) { # \dontrun{

# A workflow object needs to be created first
myWorkflow <- MeanModelWorkflow$new(workflowFolder, simulationSets)

# Use enum helper to get task names
activateWorkflowTasks(
  workflow = myWorkflow,
  tasks = StandardSimulationTasks$simulate
)

# Default will activate every task of workflow
activateWorkflowTasks(workflow = myWorkflow)
} # }