getMatch

The getMatch method gets the input text part of a conditional routing rule from a LuaConditionalRoutingRule object. A LuaConditionalRoutingRule object is a conditional routing rule, with input text and the task to route to.

Syntax

getMatch()

Returns

(strings) The input text from the rule.

Example

local ruleText = routingRule:getMatch()