Posted on 02-16-2016 07:37 AM
Does anyone know of a way to force a Policy to continue to run when it encounters an error (such as a script that can not find the elements it's trying to remove) so that the remaining items are completed anyway?
Posted on 02-16-2016 08:13 AM
I believe this would depend on putting the correct error trapping in your script and not something done directly in the policy. To my knowledge, the remainder of a policy will continue to run even if the script fails for some reason, although it will note a failure in the final log. This is actually the default behavior with policies that many of would like to see some better control over. See this FR for example: https://jamfnation.jamfsoftware.com/featureRequest.html?id=377