Adding custom routing options in business logic-based routing
Process cases quicker by creating custom routing options for assignments. To ensure that assignments are routed to the most appropriate worker, edit the parameters of your custom options.
In the business logic-based routing, you can use the following default custom options to route assignments:
- Route based on availability and skill set
- Route based on availability, skill set, and work load
In a dialog box, you can enter values for the parameters that are needed for the selected option.
To meet your specific business needs, create your own custom options by overriding the pyGetRoutingAPIs data transform:
- In the navigation pane of Dev Studio, click Records.
- Expand the Data Model category, and then click Data Transform.
- On the Instances of Data Transform tab, open the pyGetRoutingAPIs data transform.
- On the Definition tab, set the pyStandardValue parameter as equal to the name of your API.
- Set the pyPromptValue parameter as equal to the label of your API.
-
Configure the return of the API by setting the
pyAPIReturnType parameter:
- To route the assignment to a worker, enter "OPERATOR".
- To route the assignment to a work queue, enter "WORKQUEUE".
- Click Save as.
- Click Create and open.
- Optional:
Customize the source of properties that are mapped with parameters:
- In the navigation pane of Dev Studio, click Records.
- Expand the Technical category and click Activity.
- On the Instances of Activity tab, open pySetRuleKeys.
- Set the Param.RuleClass parameter as equal to the class that you want to use as the source for the parameters of your custom API.
- Click Save as.
- Click Create and open.
- Optional:
Include custom UI elements in the Parameters
section:
- In the navigation pane of Dev Studio, click Records.
- Expand the User Interface category, and then click Section.
- On the Instances of Section tab, open pyRuleParamsUIExtension of a class Data-MO-Activity-Router.
- Customize the section to meet your specific needs.
- Click Save as.
- Click Create and open.