Execute Jamf Policy
Octory PRO
Element type: Dictionary
This action will take the name of a Jamf policy and execute it. Thanks to the Helper, Octory will be able to execute the Jamf policy which requires root rights.
Keys
Name | Type | Possible values | Required |
---|---|---|---|
Type | String | ExecuteJamfPolicy | Required |
Name | String | - | Required |
Condition | Dictionary (Condition) | - |
Detail
Type Required
Type: String
Explanation: The type of the action has to be ExecuteJamfPolicy
.
Name Required
Type: String
Explanation: The name of the Jamf policy to execute.
Condition
Type: Dictionary (Condition)
Explanation: Allows launch the action only based on a boolean expression.
Example
Execute the Jamf policy named InstallChrome.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- ... -->
<key>ActionSets</key>
<array>
<dict>
<key>Type</key>
<string>Parallel</string>
<key>Triggers</key>
<array>
<string>NextButtonClick</string>
</array>
<key>Actions</key>
<array>
<dict>
<key>Type</key>
<string>ExecuteJamfPolicy</string>
<key>Name</key>
<string>InstallChrome</string>
</dict>
</array>
</dict>
</array>
<!-- ... -->
</dict>
</plist>