Routine Templates Reference - Jamf Routines Documentation

Jamf Routines Documentation

Solution
Application
Content Type
Technical Documentation
Utilities & Services
ft:locale
en-US

Jamf Routines provides templates to help you automate common tasks and connect the services in your organization's environment in useful ways.

To create a routine from a template, you can configure actions to be taken based on various triggers from the services you have connected. You can have as many routines as you need (even multiple routines of the same type) to fit your goals.

After creating a routine, it appears in the Routines section of the main page, where you can view its details.

Jamf Templates

Templates that only require a Jamf connection:

TemplateDescriptionRequirements

Update Extension Attribute for Computers

Update the extension attribute of a computer in Jamf Pro on a schedule or when a specified event occurs.

At least one computer extension attribute configured in Jamf Pro

Update Extension Attribute for Mobile Devices

Update the extension attribute of a mobile device in Jamf Pro on a schedule or when a specified event occurs.

At least one mobile device extension attribute configured in Jamf Pro

Update Extension Attribute for Users

Update the extension attribute of users in Jamf Pro on a schedule or when a specified event occurs.

At least one user extension attribute configured in Jamf Pro

Update Site for Computers

Update the site of a computer in Jamf Pro on a schedule or when a specified event occurs.

At least one site configured in Jamf Pro

Update Site for Mobile Devices

Update the site of a mobile device in Jamf Pro on a schedule or when a specified event occurs.

At least one site configured in Jamf Pro

Update Site for Users

Update the site of a user in Jamf Pro on a schedule or when a specified event occurs.

At least one site configured in Jamf Pro

Update Asset Tag for Computers

Update an asset tag of a computer in Jamf Pro on a schedule or when a specified event occurs.

--

Update Asset Tag for Mobile Devices

Update an asset tag of a mobile device in Jamf Pro on a schedule or when a specified event occurs.

--

Redeploy Jamf Management Framework

Reinstall the jamf binary on computers that may no longer have a functioning Jamf management framework, but still have an MDM profile installed.

Important:

Jamf Pro environments that have the Clear policy logs on computers checkbox selected in Settings > Re-enrollment will have all policy logs removed for any devices that complete this routine. This may result in the re-execution of already executed policies.

Smart computer group to associate with the routine

Note:

Jamf recommends creating a new smart group using the Last Check-in criteria, with the operator set to "more than x days ago", and the value set to 30.

Set Risk Level in Jamf Security Cloud

Set the risk level for a device in Jamf Security Cloud when a risk or non-compliance event is detected by Jamf Protect on that computer or mobile device.

  • Jamf Security Cloud connection

  • Smart computer or mobile device group to associate with the routine

Set Recovery Lock Password for Computers

Automatically set the recovery lock password on a schedule or when an event occurs in Jamf Pro.

Computers with Apple silicon and macOS 11.5.0 or later

Rename Mobile Devices

Rename mobile devices on a schedule or when a specified event occurs in Jamf Pro.

Supervised mobile devices

Restart Mobile Devices

Restart mobile devices (iPhone, iPad, and Apple TV only) on a schedule or when a specified event occurs in Jamf Pro.

Supervised mobile devices

Shut Down Mobile Devices

Automatically shut down mobile devices (iPhone and iPad only) on a schedule or when a specified event occurs in Jamf Pro.

Supervised mobile devices

Turn on/off Bluetooth for Computers

Automatically set the Bluetooth setting for a computer on a schedule or when a specified event occurs in Jamf Pro.

--

Turn on/off Bluetooth for Mobile Devices

Automatically set the Bluetooth setting for a mobile device on a schedule or when a specified event occurs in Jamf Pro.

--

Enable Lost Mode on Mobile Devices

Automatically enable lost mode on mobile devices (iPhone and iPad only) on a schedule or when a specified event occurs in Jamf Pro.

Supervised mobile devices with iOS or iPadOS 9.3 or later

Disable Lost Mode on Mobile Devices

Automatically disable lost mode on mobile devices (iPhone and iPad only) on a schedule or when a specified event occurs in Jamf Pro.

Supervised mobile devices with iOS or iPadOS 9.3 or later

Activate eSIM on Mobile Devices

Automatically activate eSIM on a mobile device when an event occurs in Jamf Pro.

  • eSIM Compatible iPhone or iPad
  • iOS 14 or later and iPadOS 14 or later
  • A SM-DP+ Server URL provided by your carrier

Update Inventory for Mobile Devices

Automatically update inventory for a mobile device on a schedule or when an event occurs in Jamf Pro.

--

Renew MDM Profile for Computers

Automatically renew the MDM profile of a computer on a schedule or when an event occurs in Jamf Pro.

--

Renew MDM Profile for Mobile Devices

Automatically renew the MDM profile of a mobile device on a schedule or when an event occurs in Jamf Pro.

--

Force a Declarative Device Management Sync on Computers

Automatically force computers to perform a declarative device management sync on a schedule or when a specified event occurs in Jamf Pro.

For more information on the requirements for declarative device management, see Declarative Device Management in the Jamf Pro Documentation.

Force a Declarative Device Management Sync on Mobile Devices

Automatically force mobile devices to perform a declarative device management sync on a schedule or when a specified event occurs in Jamf Pro.

For more information on the requirements for declarative device management, see Declarative Device Management in the Jamf Pro Documentation.

Lock Computers

Automatically lock computers on a schedule or when a specified event occurs in Jamf Pro.

--

Lock Mobile Devices

Automatically lock mobile devices (iPhone, iPad and Apple Watch only) on a schedule or when a specified event occurs in Jamf Pro.

--

Unmanage Computers

Automatically remove the MDM profile from computers on a schedule or when a specified event occurs in Jamf Pro.

Jamf Pro 11.10 or later

Unmanage Mobile Devices

Automatically unmanage mobile devices on a schedule or when a specified event occurs in Jamf Pro.

Jamf Pro 11.10 or later

Wipe Computers

Automatically wipe computers on a schedule or when a specified event occurs in Jamf Pro.

If you use smart group based events to trigger this routine, you will encounter behavior where the computer will wipe continuously. This is due to the computer being removed from a smart group at time of wipe and added again when enrolled.

To prevent this, Jamf recommends doing one of the following:

  • Use an extension attribute for your smart group criteria and pair with a routine (using the Update Extension Attribute template) to reset your attribute value when the computer is removed from your smart group.
  • Select the Clear extension attribute values on computers and mobile devices checkbox found in Settings > Global > Re-enrollment.

Wipe Mobile Devices

Automatically wipe mobile devices on a schedule or when a specified event occurs in Jamf Pro.

Options requirements:

  • Clear Activation LockSupervised devices
  • Retain Cellular PlaniOS 11 or later
  • Suppress Proximity SetupiOS 11.3 or later
  • Return to ServiceSee Return to Service for Mobile Devices in the Jamf Pro Documentation for requirements.

If you use smart group based events to trigger this routine, you will encounter behavior where the device will wipe continuously. This is due to the device being removed from a smart group at time of wipe and added again when enrolled.

To prevent this, Jamf recommends doing one of the following:

  • Use an extension attribute for your smart group criteria and pair with a routine (using the Update Extension Attribute template) to reset your attribute value when the device is removed from your smart group.
  • Select the Clear extension attribute values on computers and mobile devices checkbox found in Settings > Global > Re-enrollment.

Cancel Computer Commands

Automatically cancel commands for computers on a schedule or when an event occurs in Jamf Pro.

--

Cancel Mobile Device Commands

Automatically cancel commands for mobile devices on a schedule or when an event occurs in Jamf Pro.

--

Turn on/off Remote Desktop for Computers

Automatically turn on or off Remote Desktop for a computer on a schedule or when an event occurs in Jamf Pro.

--

Delete Computers

Automatically delete a computer record on a schedule or when an event occurs in Jamf Pro.

--

Delete Mobile Devices

Automatically delete a mobile device record on a schedule or when an event occurs in Jamf Pro.

--

Delete Users

Automatically delete a user record on a schedule or when an event occurs in Jamf Pro.

--

Rename Mobile Devices (Legacy)

Rename mobile devices immediately after enrollment.

Supervised mobile devices

Third-Party Templates

Templates that require a third-party connection in addition to a Jamf connection:

TemplateDescriptionRequirements

Notify Me in Slack

Automatically send a notification to Slack when a specified event occurs in Jamf Pro.

Slack connection

Notify Me in Teams

Automatically send a notification to Teams when a specified event occurs in Jamf Pro.

Microsoft Teams connection

Notify Me in Webex

Automatically send a notification to Webex when a specified event occurs in Jamf Pro.

Webex connection

Notify Me in Google Chat

Automatically send a notification to Google Chat when a specified event occurs in Jamf Pro.

Google Chat connection

Create Ticket in Jira

Create a ticket in your Jira project when a specified event occurs in Jamf Pro.

Atlassian Jira connection

Warning:If you add additional "Required" fields in Jira beyond what appears in the template, the routine will fail.

Create Ticket in Freshservice

Create a ticket in your Freshservice project when a specified event occurs in Jamf Pro.

Freshservice connection

Warning:If you add additional "Required" fields in Freshservice beyond what appears in the template, the routine will fail.

Create Ticket in Zendesk

Create a ticket in your Zendesk project when a specified event occurs in Jamf Pro.

Zendesk connection

Create Card in Trello

Create a card on your Trello board when a specified event occurs in Jamf Pro.

Trello connection

Create Incident in PagerDuty

Creates an incident in your PagerDuty project when a specified event occurs in Jamf Pro.

PagerDuty connection

Save Advanced Search to Dropbox

Automatically export an advanced search and upload it to Dropbox.

  • Dropbox connection
  • At least one advanced search configured in Jamf Pro

Save Advanced Search to Microsoft OneDrive

Automatically export an advanced search and uploads it to OneDrive.

  • Microsoft OneDrive connection
  • At least one advanced search configured in Jamf Pro

Unassign Computers in Apple Business

Unassign a computer from a Device Management Service in Apple Business on a schedule or when a specified event occurs in Jamf Pro.

Apple Business connection

Unassign Mobile Devices in Apple Business

Unassign a mobile device from a Device Management Service in Apple Business on a schedule or when a specified event occurs in Jamf Pro.

Apple Business connection

Unassign Computers in Apple School Manager

Unassign a computer from a Device Management Service in Apple School Manager on a schedule or when a specified event occurs in Jamf Pro.

Apple School Manager connection

Unassign Mobile Devices in Apple School Manager

Unassign a mobile device from a Device Management Service in Apple School Manager on a schedule or when a specified event occurs in Jamf Pro.

Apple School Manager connection

Notify me in Slack (Legacy)

Automatically send a notification to Slack when a specified event occurs in Jamf Pro.

Slack connection

Notify me in Teams (Legacy)

Automatically send a notification to Teams when a specified event occurs in Jamf Pro.

Microsoft Teams (Legacy) connection