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

In This Topic
    AssignStep Method
    In This Topic
    Assign one of the current steps on a job.
    Syntax
    void AssignStep( 
       string jobId,
       string stepId,
       AssignedType assignedType,
       string assignedTo
    )
    Sub AssignStep( _
       ByVal jobId As String, _
       ByVal stepId As String, _
       ByVal assignedType As AssignedType, _
       ByVal assignedTo As String _
    ) 

    Parameters

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

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also