Notification from a catalog task

Anubhav24
Mega Sage
Mega Sage

Hi All,

I need to send a notification based on a Yes/No variable on my catalog task. Below are my queries:

1) Based on the yes/no value on a catalog task

if the user selects No , the current task should be closed and next task should open and a notification should be sent. Question : How will I send the notification after the closure of a task :

a) Through an event

            OR

b)Through notification created specifically for this catalog item but the notification is sent after the task is closed. Hence this would be based on sc_task table then.

If the user selects Yes , then the current task state should change to pending.

a) How will I update the current state of the current task.

b)Send a notification containing the link for the user to click on yes , if yes is replied then close current task and open the next task

Thanks in advance.

 

5 REPLIES 5

Richard P
Mega Guru

How is the user answering the Yes/No in the task?

I assume its a fulfiller?

does the fulfiller not complete the task if its a no?

 

in which case have them close it incomplete or ad a suitable return option to the workflow "complete no selected" in the return value, then run a flow from that to either a notification workflow item, or an event creation to trigger the notification, followed by the new task, which then rejoins the workflow at the appropriate point.

The yes/no is being selected by the fulfiller. So we dont want to give that much functionality to the fulfiller and want to implement the same in our workflow. Since this notification is on a specific catalog task I can make this notification on sc_task table since this is only specific to this catalog item and  I need to send it after this task where the fulfiller selects yes or no . After this task I have implemented an if condition

I need to know how to implement this notification at the workflow level.

Richard P
Mega Guru

There is two ways to do it, either way you need to edit the workflow, and insert either a "notification" object, or insert an "event" which triggers the notification.

find_real_file.png

 

Hi Richard,

Thanks for your response,  I understood the notification activity in the workflow but my next query is once the user responds through email by clicking on yes , how do i close the previous task and open a new one. (example from your workflow will be once the user responds through notification I need to close the current task and then open a new task).

Also can you explain the flow for parallel launcher , what is the being used for.

Thanks in advance.