- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2024 09:47 AM
i just try this :
***********************
var emailID = current.variables.e_mail_perso_de_l_utilisateurs ;
answer = [emailID];
***********************
but not working, any suggestion ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2024 07:33 AM
// Retrieve the email address from the single-line text variable
var emailID = current.variables.e_mail_perso_de_l_utilisateurs;
// Check if the email address is valid
if (emailID) {
// If the email address is valid, send the email notification
gs.eventQueue('email.send', current, 'Notification', 'notification.template', emailID, 'Test subject', 'Test message');
answer = 'Email sent to ' + emailID;
} else {
// If the email address is empty or invalid, handle the error
answer = 'Error: No valid email address found';
}
Please Mark ✅Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2024 12:08 PM - edited 03-23-2024 12:08 PM
Try this:
var emailID = current.variables.e_mail_perso_de_l_utilisateurs ;
template.print(emailID );
i Hope this helps...
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2024 01:37 PM
i just try it but not working :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2024 12:22 AM
if your using in workflow then simply you can enter the text in the notification making use of variables.
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2024 06:30 AM
like what ??