I’ve installed on my laptop with Windows 10 PRO v1709 build 16299.371 the latest ServiceDeskPlus v9.4 build 9406, without any parametrization. On this scenario I want to run a script for every request created and for every state change on all requests.
For this trigger, there is a single & simple BAT script copying the received JSON file to another directory (C:\ProgramData\TICKETS) and writting a log entry on C:\ProgramData\LOGS.
When configured a single Action like this, it doesn’t work as expected
The BAT script executes only once when the status is created, but it never executes again if the status is changed to OnHold, Resolved or Closed. In order to have it working properly, I’ve configured five different actions calling the same script each time.
The question is: WHY???