- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 09:13 AM
using a mail script to call a variable which is not appearing:
anything wrong with this script:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 09:29 AM - edited 12-27-2023 09:30 AM
@Joshua Comeau : That's correct. As you are printing only the variable value its displays only value.
template.print('YOUR VARIABLE QUESTION: ' + current.variables.your_variable_name);
Using this statement it prints the question followed by the value of it. If you are looking for all variables to be printed on the notification refer the below article where I answered similar question.
Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 09:25 AM
I did this but now it is only saying true in the email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 09:29 AM - edited 12-27-2023 09:30 AM
@Joshua Comeau : That's correct. As you are printing only the variable value its displays only value.
template.print('YOUR VARIABLE QUESTION: ' + current.variables.your_variable_name);
Using this statement it prints the question followed by the value of it. If you are looking for all variables to be printed on the notification refer the below article where I answered similar question.
Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.