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

sonita
Giga Guru

So I just create an event in the workflow, how do I access it through event registry and notification email?

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.

 

 

 

Thank you so much! 

Actually I tried to create an event in the workflow and I created a notification . but it doesn't show the email content. it only shows the Ref

I created a template:

but the email body is not shown. I also put something in the Message HTML for testing purposes, but it doesn't show that either

find_real_file.png

 

find_real_file.png

Can you show the actual notification email record?  The screen shot shows the 'Email Template' but this doesn't get called directly, only through a notification record.

sonita
Giga Guru

The type of notification is meeting invite if that's important