email script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2024 08:51 AM
I have a select box variable for example 'partner' in my catalog item, which is user details as question choices(text is the name and value is the email id).
I have to send notification to the partner field value which was selected during raising the request. For example partner field value is 'ABC'(email is 'abc@exmpl.com') along with the email body.
How can I implement this using email script and notification?
Can anyone please help me out, it is very urgent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2024 06:22 AM
Hi @-O-
Thanks for your reply and time.
Script is working fine as in the system log getting that user's email id.
email script also attached properly in the notification body. User is available and has notification enabled. Email sending properties also fine. Tried with different users from that select box variable but still no one is receiving the email notification. But in the system notification in the who will receive tab(Users/Groups in fields) I have selected assignment group. That assignment group is getting notification.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2024 05:04 AM - edited ‎04-22-2024 05:04 AM
Hello @abhisek ,
Hope you are doing well.
I can assume that you have variable called "Product" which reference to User table. In Notification, you have to send an email to user which selected in Product field.
If my understanding is correct, In email script, please take the value of Product (Current.variables.product - you will get sys-id of the user record) and query to user table and get the email address to send it.
Abdul Fathah
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2024 05:57 AM
Thanks for your reply.
product is a select box variable where lebel is the name of the user and value is the email id of the user.