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();
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.