Run Script Twice or a Numer of Times in a Policy

New Contributor III

Dear Casper Volks.

As it is possible to add multiple scripts to one policy it seems like it it is not possible to run one and the same script, but with different parameters, in one policy twice. Both scripts will be added to the policy. But the second ones parameters will overridden by the first or gets this parameters. So the script will run twice but with the same parameters. This does´t make sense! Any ideas?



Valued Contributor III

Just found this today as well.
Definetly a bug in the system and somewhat annoying as using a script after a package install will need a seperate script for each package until this is fixed or seperate policies, either way much more annoying than just passing a different argument to a universal script.

Release Candidate Programs Tester

Contributor II

Guys have you thought about using a trap? This seems like it would do what you are looking for?