object trigger.adddependencies(object/array triggerDependencies)
This method allows to create new trigger dependencies.
This method is only available to Admin and Super admin user types. Permissions to call the method can be revoked in user role settings. See User roles for more information.
(object/array) Trigger dependencies to create.
Each trigger dependency has the following parameters:
|string||ID of the dependent trigger.|
|string||ID of the trigger that the trigger depends on.|
(object) Returns an object containing the IDs of the dependent triggers under the
Make trigger "14092" dependent on trigger "13565."
CTrigger::addDependencies() in ui/include/classes/api/services/CTrigger.php.