Script to auto-populate the task owner field with the technician who created the request

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 using the attached script.



2) Under "Admin" > "Task Custom Trigger," create a new custom trigger with the following conditions:


When a technician creates a request, and a task is added under the request, the same technician will be automatically populated in the Task Owner field.
                  New to ADManager Plus?

                    New to ADSelfService Plus?