Who will recieve the email notification?

sonita
Giga Guru

in the email notification , I'm able to select the recipient. My question is , in the workflow if I want to create a notification , how do I say the user_to_be_moved should receive the email?

 

 

1 ACCEPTED SOLUTION

Carl Fransen1
Tera Guru

Hi Sonita,

When dealing with workflow notifications I tend to separate out the notification and the event.  I only create the event for the notification in workflow and set the notification up using the standard notification templates - this way I find I can see ALL my notifications in one place.  Previously I've had to look in all workflows with notifications and the notification templates to see what is triggering, just keeps it simple.

So in your case I would create an 'Create Event' workflow activity - which would point to an existing, or create a new event type, see mine below:

find_real_file.png

My parameter 1 is just for identifying the type of notification.  Then in the notification itself you can select the required objects needed in the 'who will receive' tab, as you have shown in the top of your question.

However if you want to continue with the notification from the workflow (also very valid) you'll need to provide the field to the workflow notification, what you have isn't correct, try something like the below:

answer = [];
answer.push(current.user_to_be_moved);  (I assumed your field name is called 'user_to_be_moved')

 

Hope this helps

 

Cheers

Carl.

 

 

 

View solution in original post

10 REPLIES 10

sachin_namjoshi
Kilo Patron
Kilo Patron

user_to_be_moved should be comma separated SYS_ID of users who will receive notification.

 

Regards,

Sachin

Inactive_Us1180
Kilo Guru

If you have a user in the "user to be moved" field, then it will send the notification to that user via their primary email. so in this case, it will sent to both "User to be moved" and "facmoveteam@lytx.com. 

 

Another option would be to fire an event and pass the user who needs to receive the notification as a parameter. 

sonita
Giga Guru

In the notification in the workflow how do I say that it needs to be sent to the ' user-to_be moved?

I would just recommend that you fire an event from the workflow, and pass the 'user to be moved' as a parameter.