Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2814 Tampilan

Hi!


I have some issue giving back the results of the survey to the lead in the e-mail after the survey is taken. I put this in the e-mail template:

% if object.survey_id and object.survey_input_id and object.survey_id.scoring_type != 'no_scoring' and object.survey_id.scoring_success_min:

Score ${object.survey_input_id.scoring_percentage}%

% if object.survey_input_id.scoring_success:


The code in bold is printed in the e-mail and visible for the lead.. what can be the problem?
I get the score result.

The goal is to get a score and when it is lower than a certain number -> show this text in email,

when it is higher -> show another text.

The code is used by a colleague (who quitted), but i'm newbie and i'd like to learn how this works. In the e-mail template I also find these codes: 

% else:

% endif % endif


Can someone help me out and explain to me how i should build the e-mail template with my goal in mind?


Many thanks in advance!



 

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
2
Jun 25
2284
0
Jul 23
2227
1
Apr 23
10122
1
Mar 22
6076
1
Nov 21
3158