def value(self):
user = self.trigger.agentml.request_log.most_recent().user<EOL>groups = self.trigger.agentml.request_log.most_recent().groups<EOL>if len(self._element):<EOL><INDENT>message = '<STR_LIT>'.join(map(str, self.trigger.agentml.parse_tags(self._element, self.trigger)))<EOL><DEDENT>else:<EOL><INDENT>message = self._element.text<EOL><DEDENT>default = attribute(self._element, '<STR_LIT:default>', '<STR_LIT>')<EOL>response = self.trigger.agentml.get_reply(user.id, message, groups)<EOL>return response or default<EOL>
Return the value of the redirect response