Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2817 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
čvn 25
2294
0
čvc 23
2237
1
dub 23
10132
1
bře 22
6082
1
lis 21
3171