Routing Based on Variables Template
This application demonstrates how to route calls to DNs dynamically using variables and force routing.
- In the GetRoutingDN Backend block the application accesses some backend business routing logic defined in the file ../include/SomeRoutingLogic.jsp. This business logic will pass back a DN to route to in the varRoutingDNFromLogic variable.
- Depending of the DN set in the varRoutingDNFromLogic variable, the Branching block will conditionally route to the appropriate targets.
- In the case where the variable varRoutingDNFromLogic is above 3010, the flow will be forced to route to RoutePoint 3000 as shown in the ForceRouteToDN Target block. After this is done the workflow will exit.
- In the case where the variable varRoutingDNFromLogic is not above 3010, the DN will first be formatted in the DNVariableFormat Assign block and then be routed by the RouteToDynamicDN Target block. After this is done the workflow will exit.
This page was last edited on July 23, 2013, at 20:18.
Comments or questions about this documentation? Contact us for support!