How do I send an email to a user in a catalogue variable

Jack62
Giga Guru

Evening all

 

I have a requirement to trigger an email to a user selected in a variable in a catalogue item but I can't work out how. I have looked at doing this via a workflow and just a normal notification but there does not seem to be a way to select a variable. Can anyone provide some advice on the easiest way of doing this?

 

Thanks

 

Jack

3 REPLIES 3

Sainath N
Mega Sage
Mega Sage

@Jack62 : In this case you can go with the below options.

 

1. You can use the notification activity in the workflow and configure the audience in the To (script) as per the below screenshot, through which you will be able to pull audience from variables.

 

sainathnekkanti_0-1704159677371.png

 

2. If it's a regular notification, you can configure an event-based notification and pass the user information as parameters.

 

sainathnekkanti_1-1704159985757.pngsainathnekkanti_2-1704160018962.png

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

@Jack62 : Did you get a chance to review my answer?

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

Tai Vu
Kilo Patron
Kilo Patron

Hi @Jack62 

How is your Notification currently triggered in the Requested Item?

If it's triggered through an event, you can utilize parm1 and parm2 to store the value from the variable. Then in your notification, you can enable contains recipients from parm1 and parm2

eventQueue(String name, Object glideRecord, String parm1, String parm2, String queue)

Timi_0-1704167557065.png

 

 

Cheers,

Tai Vu