Function to get process ID from process name
getProcessIDFromProcessName(
projectPath,
modelName = NULL,
processName,
only.processID = FALSE
)
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.
The name of the model (possible values are "baseline", "analysis" and "report").
The name of the process.
Logical: If TRUE return only the processID (not a table of processName and processID).