ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Workflow.Models.JobModels Namespace / Job Class / CanCompleteStep Method
The ID of the step to complete. If no step is specified, the current step will be used
Version

CanCompleteStep Method
Determines whether a step can be completed by the current user
Syntax
public Tuple<bool,string> CanCompleteStep( 
   string stepID
)

Parameters

stepID
The ID of the step to complete. If no step is specified, the current step will be used

Return Value

Tuple containing whether it can be completed and if not the reason why the step cannot be completed*
Remarks
A step can be completed if the job is assigned to the current user, it doesn't have an active hold, and it isn't closed.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also