...
When using the #{for comments} statement, the variable name will always be n. If you want to use a different variable name, like a, you must start your iteration instead with the statement #{for a=CommentsCount} and must make sure to change it properly on the Comments[a]. at the beginning of the mapping of the Comment Field you're trying to populate.
Code Block | ||||
---|---|---|---|---|
| ||||
#{for comments} ${Comments[n].Author} ${Comments[n].AuthorFullName} ${Comments[n].Body} ${Comments[n].Created} ${Comments[n].GroupLevel} #{end} #{for <VariableName>=CommentsCount} ${Comments[VariableName].Author} ${Comments[VariableName].AuthorFullName} ${Comments[VariableName].Body} ${Comments[VariableName].Created} ${Comments[VariableName].GroupLevel} #{end} |
...