TMSWorkflow update existing workflow

Hi Support,

I have two questions.

  1. What method should I use to update an existing workflow in the database from a .wfd file?
  2. What method should I use to open an existing workflow and read the values of its' variables list?

Thx
Ron

  1. To update a definition:
var
   wdf : TWorkflowDefinition;
begin
  wdf := WorkflowStudio.WorkflowManager.FindWorkflowDefinitionByName(AName);
  wdf.Diagram.LoadFromFile(AFileName);
  WorkflowStudio.WorkflowManager.SaveWorkflowDefinition(wdf);
  end;
  1. To manipulate variables:

Perfect! Thx

1 Like

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.