Use the API to get a workflow instance.
using PNMsoft.Sequence; using PNMsoft.Sequence.Runtime; namespace SequenceEx.Samples { public class GetWorkflowInstanceSample { public WorkflowInstance GetWorkflowInstance(int workflowInstanceId) { IWorkflowExecutionService svc = WorkflowRuntime.Engine.GetServiceWithCheck<IWorkflowExecutionService>(); return svc.GetWorkflowInstance(workflowInstanceId); } } }