Highlighted
Regular Contributor.. Regular Contributor..
Regular Contributor..
343 views

Email notification to Change coordinator when all Tasks are completed

Hi all,

I want to send out email notification to Change coordinator when all Tasks under that Change are completed. Currently there are notifications when individual Task is completed, but how to check that there are no outstanding tasks and then send an email notification to the Change coordinator?

Many thanks in advance.

2 Replies
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Re: Email notification to Change coordinator when all Tasks are completed

Hi can you confirm how you are creating the task records from the change,,..

1- all tasks are created together 

2- Tasks are created after the closure of the previous task

For the first options, you can have a script configured to check for the associated change tasks and schedule it to execute every 10 minutes to send emails to co-ordinator if all tasks are closed.

For second option, initialize a variable and set it to true when the final task is in closure phase. And send email to the co-ordinator when this variable is true. You can make use of wizard to get it done.

Regards,

0 Likes
Highlighted
Outstanding Contributor.
Outstanding Contributor.

Re: Email notification to Change coordinator when all Tasks are completed

@Jennifer Li,
The first solution is that you can use the scheduler for this purpose, the scheduler will check if all Change Tasks are closed for Change and then it will send a notification to the desired operator.
The second solution is to use Workflow / RuleSet which will check opened Change Tasks after Change Task is Closed, so when Task enters Closed state you can put RuleSet on After Successful Enter in that Phase and activate JavaScript that will check all Change Tasks with related Change, if there is no opened Change Tasks then you can activate e-mail to the desired operator.
Best regards,
Dino

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.