Skip to main content
Question

Issue with custom trigger in 9.98?


Forum|alt.badge.img+12
  • Contributor
  • 288 replies

I've set a custom trigger with execution frequency as Ongoing.

On the first initial run, it'll work properly. If I try to run it again on the same machine, it'll say "no policies were found for the "xxxxxxx" trigger.
I've tried flushing the log and re-running to no avail.

If I edit the policy that contains the custom trigger, and save it exactly as is, it'll work when I re-run the policy.

10 replies

rqomsiya
Forum|alt.badge.img+12
  • Honored Contributor
  • 225 replies
  • April 27, 2017

Did you figure this out? What is the scope on the policy?


Forum|alt.badge.img+12
  • Author
  • Contributor
  • 288 replies
  • April 27, 2017

Never figured it out. Will try testing again today.

Scope on policy is All Computers with no exclusions. No server or client side limitations.


Forum|alt.badge.img+13
  • Valued Contributor
  • 389 replies
  • August 1, 2017

Has anyone figured this one out??

Having the same isssue :-(


sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • 3539 replies
  • August 1, 2017

@kerouak Have you tried a Target of Specific Computers -> All Managed Clients rather than All Computers?


stevewood
Forum|alt.badge.img+35
  • Employee
  • 1797 replies
  • August 1, 2017

@kerouak / @sdagley I'm seeing similar behavior with 9.99. Policy scoped to a single computer, set to ongoing. The policy calls a script, that's it, and if I run it once and try to run it again later, "No policies found". There is no trigger set on the policy, as I am calling it using the ID (jamf policy -id <idnum>). If I delete the computer and re-add, the policy runs fine.

I'll do some more testing today or tomorrow and if necessary I'll open a ticket with support. Anyone else opened a ticket on this?


sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • 3539 replies
  • August 1, 2017

@stevewood Out of curiosity, have you tried triggering via a Custom trigger instead of by ID to see if that behaves differently?


stevewood
Forum|alt.badge.img+35
  • Employee
  • 1797 replies
  • August 1, 2017

@sdagley no, not yet. It's a VM I was using for testing something in dev and it wasn't a big deal to remove the system. If I get some time this afternoon I'll test.


Forum|alt.badge.img+13
  • Valued Contributor
  • 389 replies
  • August 2, 2017

I was calling it via a custom trigger and had the issue..


Forum|alt.badge.img+13
  • Valued Contributor
  • 389 replies
  • August 2, 2017

@sdagley good shout!!

I'll give that a go..

Ta


Forum|alt.badge.img+13
  • Valued Contributor
  • 389 replies
  • August 2, 2017

@stevewood Yup, Remove and re add works for me too, however, it's a bit annoying ;-)


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings