Posted on 06-13-2017 08:03 AM
I have an applescript that takes the three standard arguments and a string passed as Parameter 4 from the Policy. Everything works as expected when I run that script from the command line with the set of expected arguments. But when I run the same via a Policy from the Self-Service all arguments are concatenated and interpreted as one single argument, so the poos script is completely lost.
Any idea what might be wrong?
Solved! Go to Solution.
Posted on 06-13-2017 08:33 AM
I think I found it. Jamf always passes 11 arguments, no matter whether they are set or not. So my idea to check for exactly four arguments was not helpful. And the concatenation was due to a bug in my debug output :(
Posted on 06-13-2017 08:33 AM
I think I found it. Jamf always passes 11 arguments, no matter whether they are set or not. So my idea to check for exactly four arguments was not helpful. And the concatenation was due to a bug in my debug output :(