ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Workflow.Client.Models Namespace / IJobsManager Interface / AssignCurrentStep Method
The id of the job to assign
The type of assignment
The username or groupId to assign the step to
Version

AssignCurrentStep Method
Assign the current step of a job.
Syntax
void AssignCurrentStep( 
   string jobId,
   AssignedType assignedType,
   string assignedTo
)

Parameters

jobId
The id of the job to assign
assignedType
The type of assignment
assignedTo
The username or groupId to assign the step to
Example
QueuedTask.Run(() => { WorkflowClientModule.JobsManager.AssignCurrentStep("job1", AssignedType.User, "testuser"); });
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.2 or higher.
See Also