Process your business cases with flexibility and efficiency by using business logic to automatically determine which individual or group of individuals receives an assignment in a case. Instead of entering specific names of users or teams, you can provide conditions that your application evaluates at run time to assign a task.
For example, your application can evaluate which CSR has the most appropriate skill set or workload to complete a step or task.- In the navigation pane of App Studio, click Case types, and then click the case type that you want to open.
- On the Workflow tab, click Life cycle.
- In the Case life cycle section, click an assignment in a process.
- In the Step section of the properties panel, click the General tab.
- In the Route to list, select Use business logic, and then click the Configure business logic icon.
-
Select a routing method:
Actions Steps Route the assignment to a specific user - In the Route to list, select Operator.
- In the Value field, press the Down arrow key, and then select the name of a user.
Route the assignment to a work queue - In the Route to list, select Work queue.
- In the Value field, press the Down arrow key, and then select the name of a work queue.
Route the assignment by using custom business logic - In the Route to list, select an option from the Custom section.
-
Specify routing conditions by clicking Edit parameters
and completing the Edit parameters window.
You can route the assignment based on availability and skill set, or based on availability, skill set, and workload.
-
Define the routing condition for the assignment:
- In the list of fields, select the name of a field in your data model.
- In the comparator list, select a comparator.
- In the value field, enter or select a value that your application compares with the field in the data model. For example: Case status is equal to New
- Optional: To define more conditions that apply to this routing method, click the Add row icon.
- Optional: To support complex business logic, click Add condition, and then repeat steps 6 and 7. Result: At run time, your application selects the first routing method that meets the conditions that you define.
-
In the otherwise section, define a routing method that you want
to use when no conditions return a true value:
Actions Steps Route the assignment to a specific user - In the Route to list, select Operator.
- In the Value field, press the Down arrow key, and then select the name of a user.
Route the assignment to a work queue - In the Route to list, select Work queue.
- In the Value field, press the Down arrow key, and then select the name of a work queue.
Route the assignment by using custom business logic - In the Route to list, select an option from the Custom section.
-
Specify routing conditions by clicking Edit parameters
and completing the Edit parameters window.
You can route the assignment based on availability and skill set, or based on availability, skill set, and workload.
- Click Submit.