getRouting

The getRouting method gets the task ID 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

getRouting()

Returns

(strings) The ID of the task to route to.

Example

local ruleTask = routingRule:getRouting()