JSS Events Api, enrollment catch case

pkond
New Contributor

Hi, everyone.

I'm wondering, if someone have tried to utilise JSS Events Api for catching mobile enrollment events?
We've built simple jss plugin for catching events, which invokes other logic to set up addition environment for enrolled device. But we faced strange behaviour of JSS: for some reasons in half of cases it produces three events of type com.jamfsoftware.eventnotifications.events.MobileDeviceEnrolled in a row.

Could someone suggest possible reasons of that?

1 REPLY 1

kalikkalik
New Contributor

I was receiving something like that in some factory methods I had implemented back weeks ago; haven't checked back up on them since I had other projects on priority. Haven't tested recently, either, so it could just be my bad code, or some api issues. Also, there are some known API issues right now, but I'm not sure if they extend to the events components or only the restful interface.

-j