Skip to contents

This function imports a workflow from an electronic package (ePackage) into a project directory. It initializes the project configuration, retrieves relevant project files, and synchronizes scenarios with plots. The function ensures that the necessary directories exist and that the configuration is set up correctly for further processing.

Usage

importWorkflow(
  projectDirectory,
  wfIdentifier,
  ePackageFolder,
  configurationDirectory
)

Arguments

projectDirectory

A character string representing the path to the project directory where the workflow will be imported.

wfIdentifier

An integer identifier for the workflow being imported. This identifier is used to distinguish between different workflows.

ePackageFolder

A character string representing the path to the electronic package folder that contains the workflow files and configurations to be imported.

configurationDirectory

A character string representing the directory where the configuration files will be stored.

Value

An object containing the updated project configuration after the workflow has been imported.

See also