macOS Automator (Invoke)
Use the Task Invoke macOS Automator Workflow to invoke an Automator workflow on Agents running on macOS.
With Automator, you can create custom workflows and deliver automation in macOS to customers without the necessity of writing any scripts, routines, or computer code.
- The Automator workflow must first be added as a Resource before you can select it in the Workflow field.
- When the Automator workflow has been selected, an overview of all editable variables relating to this workflow will be shown. When editing variables, you can use placeholders to specify their value.
- When selecting Enable logging, the Results will include a log of the Task and of the Automator output.
- If more than one user is logged on to the same macOS machine, the specified Automator workflow will be executed for the user who logged on first.
Known limitations
- At least one user needs to be logged on. If no users are logged on, the Task will fail.
- If more than one user is logged on to the same macOS machine, the specified Automator workflow will be executed for the user who logged on first.
- When specifying values for variables, any paths that you specify must be absolute, not relative.
Best Practice
- Create the workflow on a macOS machine.
- Save the workflow to a network location.
- Because workflows are always saved as document.workflow, change the name of the workflow to a more descriptive one. This is useful to differentiate between the various workflow files.
- Create a Resource in Ivanti Automation with the workflow file.