Creating custom routing logic for assignments
You can create custom routing logic to determine which user or team receives an assignment in a case. By using an activity instead of business logic, you can access advanced features that support complex use cases.
- Open a flow by searching for it or by using the Application Explorer.
- On the Diagram tab of the Flow form, double-click an assignment to open the Assignment properties dialog box.
- In the Routing section, select Custom from the Route to list.
-
Choose a type of destination for the assignment.
-
To route the assignment to a specific user, or worklist:
-
In the Assignment type list, select WorkList.
-
In the Router field, press the Down Arrow key and select a router activity that sets the AssignTo parameter to the name of a worklist.
Tip: If you do not have an activity defined, you can select Operator from the Route to list and provide the name of the property that stores an operator ID. -
If the router activity accepts parameters, enter values for those parameters in the fields that are displayed in the Parameters section.
For example, you can provide the name of a decision tree that finds a worklist based on the skill set of a user, when you use the Work-.ToDecisionTree router activity.
-
-
To route the assignment to a team, or work queue:
-
In the Route to list, select Custom.
-
In the Assignment type list, select Work queue.
-
In the Router field, press the Down Arrow key and select a router activity that sets the AssignTo property to the name of a work queue.
-
If the router activity accepts parameters, enter values for those parameters in the fields that are displayed in the Parameters section.
For example, you can pass the name of a work queue and a list of required skills when you use the Work-.ToSkilledWorkbasket router activity.
-
In the Advanced section, click Assignment details, and then select the Use current operator when work queue not found check box.
When no work queue is found, your application sends the assignment to the user who is currently processing the case.
-
-
- Click Submit.
- Click Save.