Update Task Owner when a task is added for a request.
Requirement:
When a task is created for a request, assign the the requester as the task owner, if that the requester is a technician
Steps to follow:
- Goto Admin > Developer Space > Task Custom Functions. Create a new function.
- Refer to the attached script. (SetTaskOwner.txt.)
- Configure Task custom trigger to get executed on every task being deleted with "Module" as "Request".

New to ADSelfService Plus?
Related Articles
Script to auto-populate the task owner field with the technician who created the request
REQUIREMENT: When a technician creates a request and a task is added under the request, the task owner should be the same technician. TESTED IN: Builds 14503 (Postgres) STEPS: 1) Under "Admin" > "Task Custom Functions," create a new custom function ...
Script to auto-populate the "Estimated Efforts" of a task based on the "Category" and "Sub-Category" of an incident request
REQUIREMENT: When an incident request is created, a task should be automatically added to the request. In the created task, the "Estimated Efforts" field should be automatically calculated based on the Category and Sub-Category of the incident ...
Notify task owner when a task is deleted using Deluge
Requirement: Send Email notification to task owner when a task is deleted from a request. Steps to follow: Go to Admin > Developer Space > Task Custom Functions. Create a new function. Refer to the attached script. (NotifyTaskOwner.txt.) Update the ...
Script to send notifications to project owner when (Project is edited, task is added, Milestone is added)
Last tested in Build: 10602 1. Send mail project owner Please follow the below steps. 1.. Go to Admin --> Project Custom Functions --> Custom Actions --> Paste the content from the attachment (1. Project_sendmail.txt) and save it with a name. 2. ...
Query to show both task comments and worklog comments ( MSSQL )
Tested in MSSQL build (14306) SELECT "taskdet"."TASKID" AS "Task ID", "taskdet"."TASKID" AS "Task ID", "wotask"."WORKORDERID" AS "RequestID", cd.CATEGORYNAME AS "Request Category", "taskgroup"."QUEUENAME" AS "Group", "taskowner"."FIRST_NAME" AS ...