I created a policy to install Xerox Printer driver, and for the Trigger I set it as Custom and in the text box i entered TESTXeroxDriverCustomTrigger for its name, it will run once per computer.
This is to TEST at this point, so I scoped it to ONE iMac I want to test it on.
I want to create a second policy that will go into Self Service that installs a mapped xerox printer. Instead of putting the xerox print driver in this same policy I will call the Custom Trigger I created earlier. Since I have 4 xerox printers using the same driver I don't want each policy to keep installing the driver each time.
Where in the Second policy do i enter the 'jamf policy -trigger TESTXeroxDriverCustomEvent' command ?? Can I put it in the payload 'Files and Processes' --> 'Execute Command' ? or create a 1 line script with that command and add the script to this policies 'script' payload?
This is how I am thinking it will work and want it to work; if USER A installs Xerox PRINTER 1, it will install the printer and driver. Later if user A needs to install PRINTER 2 it will see that (TESTXeroxDriverCustomTrigger) already ran once on this computer, thus only install the printer.
Will this work?
what gets installed first, the driver or the printer? will it make a difference what gets installed first, the printer will still use the correct driver?
I currently have 4 policies installing the xerox printers and driver in each policy and I'm thinking that creating this custom trigger will cut out installing the same driver more than once on the same computer.