Send Email notification from workflow

Shalika
Tera Expert

I have a catalog item which has a field "watchlist" - this is a reference field referencing to the user table. I want that whenever the ritm is created then the notification should go to the person who is selected in the watchlist. How can I do this from workflow's notification?

1 ACCEPTED SOLUTION

then @Shalika do this in the script 

answer=[];

answer.push(current.variables.your_Watch_list_variable_name);

answer.push(current.variables.your_request_for_variable_name);

View solution in original post

12 REPLIES 12

Hii,

I have added like this only. My Watch list is a List collector type variable. 

The emails are not going

hello @Shalika you need to use scripting for this as its a variable

just do like below 

answer = current.variables.your_watch_list_variable name.split(',');

also if you want to include requested for then do like add one more line like below 

answer.push(current.variables.requested_for_variable_name.toString());

MARK MY ANSWER CORRECT IF THIS HELPS YOU

The emails are going to the person in requested for but not to person in watch list

@Shalika is watch list a variable on the catalog item or a field on the RITM form?

It is a variable on the catalog item