Option to cancel the pending tasks when Request is cancelled- when the worklog is mandatory

Option to cancel the pending tasks when Request is cancelled- when the worklog is mandatory

Requirement:
Customer needs to close the tasks when the request is closed and the worklog is mandatory field in request closing rules.

Download the attached scripts.
Under Admin > Developer Space > Global Custom Function, create a new custom function. Paste the content of the Global Function script into the function.
Make sure to update the URL and technician key in the script. It's recommended to use a technician key with admin privileges to prevent any permission issues related to roles.



Under Admin > Developer Space > Request Custom Function, create another custom function. Paste the content of the "cancel tasks " script into this function.


  1. Under Admin > Custom Trigger > Notifications, configure a new Custom Trigger with the following settings:


The condition could be modified according to the specific requirements. 


        New to ADManager Plus?

          New to ADSelfService Plus?