Description: Opens the RaceLab workflow grid for a run and workflow. It loads experiment, parameter, order, material and node data and can display or edit the workflow grid.
Calling convention: CIP_RaceLab_Call_WorkflowGrid("RunID": Integer, "WorkflowID": Integer, ["ResultView": Boolean = FALSE], ["ResultTemplateID": Integer = -1]): Boolean
Parameters:
RunID: database identifier of the run.
WorkflowID: database identifier of the workflow.
ResultView: optional; TRUE opens result-view behavior.
ResultTemplateID: optional result-template ID, or -1 for none.
Returns: TRUE after the dialog closes normally, including Cancel; FALSE only when argument conversion fails before the dialog opens. It does not report whether data was saved.
Availability: Conditional: available only in builds compiled with CIP_RACELAB. Requires an interactive desktop session and the RaceLab/Chemspeed configuration.
Example:
DialogWasClosed := CIP_RaceLab_Call_WorkflowGrid(RunID, WorkflowID, TRUE, ResultTemplateID);