跳至内容
菜单
此问题已终结
2779 查看

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!



 

形象
丢弃
相关帖文 回复 查看 活动
2
6月 25
2192
0
7月 23
2138
1
4月 23
10060
1
3月 22
6015
1
11月 21
3111