When a task is closed skipped and a new task is created, a notification should trigger

Sowbarnika S1
Tera Contributor

A task will be created under the supplier case with short description 'upload diversity certificate task'. When the approval is rejected in the task, state changes to closed skipped and a new task is created with state as open. when this state changes to work in progress a notification should be triggered. How can I achieve this.

15 REPLIES 15

Hello @Aniket Chavan 

I couldn't modify the workflow as of now... I need to achieve this only using the business rule... But I didn't know how to add the conditions through script... Can you kindly guide me through a sample business rule

Hello @Sowbarnika S1 

Okay so just wanted to confirm few things like you want to create the new catalog task as well from the BR itself or its already creating and you want to trigger the notification only.

Or you want to do both like inserting new catalog task as well as trigger notification based on new catalog task state i.e when changes to WIP.

Hi @Aniket Chavan 

 

Task is already getting created and all the functionality around this is already configured... I just want to trigger the notification only through script

In this case I think you just need to configure the trigger condition in the business rule and for that you can use the new catalog task short description text, like you can set the trigger condition like short description contains or short description starts with or any other field which will be the differentiator for you task then you just need to trigger the notification via business rule and for that you can refer the below community post in which detailed information is there related to the same.

Let me know if you still have any doubt or need anything from my end.

Let me know your views on this and Mark Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.


Regards,
Aniket

In my case, notification should not be triggered when the task is created for the first time, only on the second time it should trigger.... So I need to check through script whether there are any previous 'closed skipped' task under the request.... if so then notification should be triggered.... if not notification shouldn't be triggered