Request

Response

    ProgressStepsManager.AppendStepBefore method

    Inserts a new progress step immediately before the specified reference step. This is useful for adding pre-processing steps before existing workflow steps.

    public void AppendStepBefore(Operation operationType, string referenceStepId, string stepId, 
        string title, string completionTitle)
    
    parameterdescription
    operationType The type of operation to which the step should be added.
    referenceStepId The step ID of the existing step before which to insert the new step.
    stepId The unique identifier for the new progress step. Must be unique within the operation.
    title The display title for the progress step shown during execution.
    completionTitle The title displayed when the step is completed.

    Exceptions

    exceptioncondition
    ArgumentException Thrown when any string parameter is null or empty, when stepId already exists, or when referenceStepId is not found in the operation's step list.

    See Also