ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Workflow.Client.Models Namespace / IJobsManager Interface / SetCurrentStep Method
The id of the job
The id of the step to set as the current step

In This Topic
    SetCurrentStep Method (IJobsManager)
    In This Topic
    Sets a single step to be the active step on the job
    Syntax
    void SetCurrentStep( 
       string jobId,
       string stepId
    )
    Sub SetCurrentStep( _
       ByVal jobId As String, _
       ByVal stepId As String _
    ) 

    Parameters

    jobId
    The id of the job
    stepId
    The id of the step to set as the current step
    Example
    QueuedTask.Run(() => { WorkflowClientModule.JobsManager.SetCurrentStep("job1", "step1"); });
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also