In a Return action, an XPath expression defines the value that is returned by an Action Group. This value is called the Action Group Result, and it can be used to set the value of a variable defined in a Let action. In the screenshot below, for example, the Return action defines the value that is returned by the Action Group named RectangleArea. The Return action's XPath expression can contain parameters declared in the Action Group. The values of the parameters are supplied at runtime by the Let action that calls the Action Group. See the section Setting Variable Values via Action Groups for a description and example of how the Return action can be used.
MobileTogether provides a range of XPath extension functions that have been specifically created for use in MobileTogether designs. Some functions can be particularly useful with specific actions. For example, mt-available-languages() returns the languages in which the solution is available and could, for example, be used with the Message Box action. If a function is especially relevant to this action, it is listed below. For a full list of extension functions and their descriptions, see the topic MobileTogether Extension Functions.