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();
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.