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
Version

    AssignStep Method
    Assign one of the current steps on a job.
    Syntax
    void AssignStep( 
       string jobId,
       string stepId,
       AssignedType assignedType,
       string assignedTo
    )

    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