Need to get the Workflow Job information that activated the AddIn tool. Specifically the JobID. Where to get this information from the AddIn code (C#)?
Add reference to ArcGIS.Desktop.Workflow.dll ArcGIS.Desktop.Workflow.Client.dll from ArcGIS Pro install Extensions directory.
var jobsManager = WorkflowClientModule.JobsManager;
var jobID = jobsManager.GetJobId();
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.