ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Workflow.Models.JobModels Namespace / Job Class / FinishSplitExecutionStep Method / FinishSplitExecutionStep(IReadOnlyList<String>) Method
Array of string arguments to pass to the step
Example

In This Topic
    FinishSplitExecutionStep(IReadOnlyList<String>) Method
    In This Topic
    Finishes executing a step that supports split execution
    Syntax
    public WorkflowExecutionResult FinishSplitExecutionStep( 
       IReadOnlyList<string> args
    )
    Public Overloads Function FinishSplitExecutionStep( _
       ByVal args As IReadOnlyList(Of String) _
    ) As WorkflowExecutionResult

    Parameters

    args
    Array of string arguments to pass to the step

    Return Value

    Information on the return code and errors during completion
    Example
    Finish split execution of current step and check for an exception
    string[] args = new string[] { "/ReturnCode:3"}
    WorkflowExecutionResult result = job.FinishSplitExecutionStep(args);
    // Check if the step threw an exception
    if (result.Exception != null)
    {
        // Throw it for a higher level to deal with
        throw result.Exception;
    }
    if (result.HasReturnCode)
    {
        return result.ReturnCode;
    }
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also