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();
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.