Starts running the steps provided in the array. Running a step marks it as finished, if the step is set to proceed to next. This method must be called on the MCT. Use QueuedTask.Run.
If no stepIds are specified, then all the current steps will be started.
QueuedTask.Run(() =>
{
var id = WorkflowClientModule.JobsManager.GetJobId();
var stepIds = new List() { "123456789", "234567890" };
WorkflowClientModule.JobsManager.RunSteps(id, stepIds);
});
How to run steps on a job
var jobManager = WorkflowClientModule.JobsManager;
jobManager.RunSteps(jobId);
How to run specific steps on a job
var jobManager = WorkflowClientModule.JobsManager;
// Specify specific current steps in a job to run
stepIds = new List<string> { "step12345", "step67890" };
jobManager.RunSteps(jobId, stepIds);
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3.2 or higher.