Function to get process ID from process name

getProcessIDFromProcessName(
  projectPath,
  modelName = NULL,
  processName,
  only.processID = FALSE
)

Arguments

projectPath

The path to the StoX project, i.e., the folder of the project with the sub folders "input", "output" and "process". Can possibly be the path to a file inside the project folder.

modelName

The name of the model (possible values are "baseline", "analysis" and "report").

processName

The name of the process.

only.processID

Logical: If TRUE return only the processID (not a table of processName and processID).