Access JobID from .NET class extension

Discussion created by W0194119 on May 15, 2014
Latest reply on Jun 25, 2014 by W0194119
I am migrating a 9.3 system to 10.2.2 and part of that is upgrading a number of VB.NET class extensions that we put in place for data validation. Part of what these class extensions do is ensure that users can only edit data from within a JTX job (not generic ArcMap). The logic assumes that if the JobID is greater than 0 then the work is being done from within a valid job.

How can I access the JobID and JobStatus in .NET from Workflow Manager? My existing 9.3 solution isn't working (JobID is always 0)...