How to send a notification when a paricular sctask is closed

Anirudh_saraf
Tera Contributor

We have a requirement to trigger the notification when a a particlar sctask is closed complete of a request item

8 REPLIES 8

vishakhayadav24
Tera Guru

Hi @Anirudh_saraf ,

 

for this you will be having some certain conditions like  Item(name)/ Short-description and assignment group and if you are having these then you can write a code for this via BR after putting when to run  filter conditions.

or if you are using flow designer then use the Send Email action  for triggering the notification after putting wait for a condition if that particular task's state is closed.

 

Thank you!

Vishakha Yadav

 

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

Where are you stuck with this?

Here is an eg

 

AnuragTripathi_0-1719996220423.png

 

You can dot walk to requested item -> item to add the condition that it runs for RITM created for a particular catalog item.

-Anurag

Mahathi
Mega Sage
Mega Sage

Hi @Anirudh_saraf ,

You can create a Notification which will be triggered for this specific catalog item, when the state changes to closed complete.

You can query the sc_task table, mention the catalog item for which you want the notification to get triggered and add a condition saying state changed to Closed complete.

If my answer helped in any way, please mark it as Correct & 👍Helpful

Thanks,

Mahathi

 

 

Anirudh_saraf
Tera Contributor

@Mahathi @Anurag Tripathi  Thanks for your reply.

 

Here the requirement is when a particular sctask state changes to closed complete a particular notification should be triggered.

This sctask is not the final task and there are other tasks generated after this particular task is closed but only when the exact sctask is closed the notification should be sent.

 

Thanks