ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Workflow.Models Namespace / ConfigurationManager Class / GetVisibleJobTypes Method
Example

In This Topic
    GetVisibleJobTypes Method
    In This Topic
    Gets the list job types which the current user is allowed to access. This method must be called on the MCT. Use QueuedTask.Run
    Syntax
    public IReadOnlyList<JobTypeDescription> GetVisibleJobTypes()
    Public Function GetVisibleJobTypes() As IReadOnlyList(Of JobTypeDescription)

    Return Value

    The list of JobTypeDescription for visible job types
    Example
    How to get job types
    // GetVisibleJobTypes returns a list of job types
    var wfCon = await WorkflowModule.ConnectAsync();
    var configManager = wfCon.GetManager<ConfigurationManager>();
    var jobTypes = configManager.GetVisibleJobTypes();
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also