How to display Answer for Assessment which is choose by requestor in Emil Body?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2022 09:55 PM
Hi Team,
How to display Answer for Assessment in Emil Body?
I have created notification on "asmt_metric_result" Table. I want to display One of the assessment answer which is choose by requestor in notification body.
Notification Table - asmt_metric_result
Condition
Metric - Question
String Value - Answer
What will contain
I want to display one of the Assessment answer in Email Body
Question in Assessment - Please select countries
Answer may be multiple countries (Multiple select box)
Please suggest.
Regards,
Sruthi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2022 12:17 AM
Please use the reverse logic for condition. say for example if the user didn't answer for the question please select country, then hopefully you will get empty response. So use it in your condition builder like if the String value for the question is not empty then trigger the notification.
You can use the below in your email body to display the question and answer.
Question : ${metric.name}
Answer: ${string_value}
Preview of the notification
Thanks & Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2022 02:35 AM
Hi Vasantharajan.
As you mentioned how to add "String value for the question is not empty" condition in the condition builder.
And I already added one Metric question and String Value in the condition builder. If the string value is yes. Then only the notification should trigger. I need to add Another question's answer (assessment question answer) in email body.
So the Question(Mertric) is Please select the countries and the Answer(String value) for that question is may be multiple countries which is choose by requestor.
Please suggest
Regards,
Sruthi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2022 03:13 AM
Hi Sruthi
You should use the condition like below
Metric is "Please select the countries" and
String Value is not empty
Thanks & Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2022 05:33 AM
Hi Vasantharajan,
But I can only print one country. If I select 3 countries then 3 emails are triggering to same user with one country. If user select more than one country, How can I display all the 3 countries in the same email body.
Regards,
Sruthi