How to display Answer for Assessment which is choose by requestor in Emil Body?

sruthig
Tera Expert

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

find_real_file.png

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

5 REPLIES 5

Vasantharajan N
Giga Sage
Giga Sage

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 

find_real_file.png


Thanks & Regards,
Vasanth

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

Hi Sruthi

You should use the condition like below

Metric is "Please select the countries" and

String Value is not empty


Thanks & Regards,
Vasanth

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