Stage transitions based on task completion

Say goodbye to manual stage updates! This solution automates stage transitions based on task completion, saving you time and effort.
Utilizing custom task functions and triggers, we can automate stage advancement based on task completion. The provided script, executed upon each task closure, verifies if all tasks within the current stage are closed. If so, the change automatically progresses to the next stage. You will find the script and trigger configuration attached for your reference.
Navigate to Admin > Change custom functions > and use the script from the attachment
Then, navigate to Admin > Custom triggers > Change and create a custom trigger as below
New to ADSelfService Plus?
Related Articles
Automating change stage transition based on task completion
PURPOSE: To automatically move to the next change stage when all tasks are closed, using task custom function and task custom trigger. The attached script triggers upon the closure of each task, verifying whether all tasks within the current stage ...
Deluge script to add task automatically under Change
Steps to configure: 1. Download the attached scripts. 2. Go to Admin >> Global Functions >> Copy & Paste the attached Global_function_4.txt save it with a name along with the parameters mentioned in the below screenshot. 3.Go to Admin >>Change Custom ...
Script to send custom reminder notification to notify task owner based on scheduled start and end time.
Prerequisites: 1. Python Installation Steps : https://pitstop.manageengine.com/portal/kb/articles/how-to-setup-python-on-the-server 2. functions.py : This package consists of all the functions that are used to handle the standard requirements of the ...
Query to show Request and associated task details (PGSQL & MSSQL)
Tested in build PGSQL (14300) and MSSQL (14306) PGSQL & MSSQL: SELECT wo.WORKORDERID AS "Request ID", aau.FIRST_NAME AS "Requester", wo.TITLE AS "Subject", pd.PRIORITYNAME AS "Priority", cd.CATEGORYNAME AS "Category", scd.NAME AS "Subcategory", ...
How to automatically create a task in a Change Request.
This is a sample script to create a task in a Change Request based on the values given in certain fields. This is done by using an API call to create a task in ServiceDesk Plus. The task can also be created in a request, problem, project or a ...