ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.TaskAssistant.Events Namespace / TaskEndedEventArgs Class / WMXJobID Property

WMXJobID Property (TaskEndedEventArgs)
Gets the JobID when the task is launched from WMX.
Syntax
public int WMXJobID {get;}
Remarks
Value is 0 if WMX did not launch the task.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also