ArcGIS Pro 3.4 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
Version

SetCurrentStep Method (IJobsManager)
Sets a single step to be the active step on the job
Syntax
void SetCurrentStep( 
   string jobId,
   string stepId
)

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