david.mavin-sky
Hi,
Can anyone tell me how to move a workflow to a specific step via the API. I have the workflow ID I am interested in but want to move the workflow to a specific step and/or the final step.
var workflow = WorkflowInfoProvider.GetWorkflowInfo(workflowId);
if (workflow != null)
{
var workflowFinishStep = WorkflowStepInfoProvider.GetFinishedStep(workflowId);
// How do I move the workflow to the required step?
}
I think workflow will have the workflow instance, I am not too sure if workflowFinishStep gives me the last step? But i cannot find any documentation stating how to perform this move step action via the API?
Any help appreciated as I can find no documentation on this apart from creating workflows via the API?
Cheers
David
Hi,
Can anyone tell me how to move a workflow to a specific step via the API. I have the workflow ID I am interested in but want to move the workflow to a specific step and/or the final step.
var workflow = WorkflowInfoProvider.GetWorkflowInfo(workflowId);
if (workflow != null)
{
var workflowFinishStep = WorkflowStepInfoProvider.GetFinishedStep(workflowId);
// How do I move the workflow to the required step?
}
I think workflow will have the workflow instance, I am not too sure if workflowFinishStep gives me the last step? But i cannot find any documentation stating how to perform this move step action via the API?
Any help appreciated as I can find no documentation on this apart from creating workflows via the API?
Cheers
David