ArcGIS Pro 3.2 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

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 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