I'm looking towards making custom actions when a "On threshold" trigger jumps, specifically I want to execute an script to register a case on an external app. After googling and looking over the code... didn't find a clue yet, so,
Where should I start ?
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You'll have to code a class derived from the abstract "Action" class.
It's defined in core/action.class.inc.php, there are some actual examples in the same file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, i'd tried that first, but only implemented the class and a method doExecute expecting to see the new class on the actions form, I guess it need some more coding tho...
Thanks for the response !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
I'm looking towards making custom actions when a "On threshold" trigger jumps, specifically I want to execute an script to register a case on an external app. After googling and looking over the code... didn't find a clue yet, so,
Where should I start ?
Thanks!
Hi Pau,
You'll have to code a class derived from the abstract "Action" class.
It's defined in core/action.class.inc.php, there are some actual examples in the same file.
Ok, i'd tried that first, but only implemented the class and a method doExecute expecting to see the new class on the actions form, I guess it need some more coding tho...
Thanks for the response !