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

In This Topic
    AssignCurrentStep Method
    In This Topic
    Assign the current step of a job.
    Syntax
    void AssignCurrentStep( 
       string jobId,
       AssignedType assignedType,
       string assignedTo
    )
    Sub AssignCurrentStep( _
       ByVal jobId As String, _
       ByVal assignedType As AssignedType, _
       ByVal assignedTo As String _
    ) 

    Parameters

    jobId
    The id of the job to assign.
    assignedType
    The type of assignmen.t
    assignedTo
    The username or groupId to assign the step to.
    Example
    Assign the current steps of a job.
    {
      var jobManager = WorkflowClientModule.JobsManager;
      jobManager.AssignCurrentStep(jobId, AssignedType.User, "testUser");
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.2 or higher.
    See Also