Add and trigger predefined tasks to a request
Requirement:
Add a set of tasks to a request and trigger them all at once.
Steps to configure:
- Goto Admin > Developer Space > Global function > New > Paste the content from the attachment GF_4 - Configuration.txt and save it with a name.
- Update the URL and integration key in the script.
- You can get the integration key under Admin > Integrations > Integration Key > New
- Please use an integration key with admin privilege, as there wont be any role related permission issues.
- Update the integration key in the global function.
- Go to Admin > Developer Space > Global Functions. Create a new function.
- Refer to the attached script. (PredefinedTasks.txt.)
- Update the task fields as per your requirement.
- Go to Admin > Developer Space > Request Custom Functions. Create a new function.
- Refer to the attached script. (addPredfinedTaskstoRequest.txt.)
- Update the global function count\API name in the custom function script as per your instance.
- Configure Request custom trigger to get executed on every request being created with a specific template.
New to ADSelfService Plus?