You can add an assignment to a process to create a task, such as entering employment history, that a user must perform before a case can move to the next step in a work flow. By using assignments, you can capture user input in a structured way.
Tip: You can add an assignment to a flow by using Process Modeler or Case Designer. Process Modeler supports the full set of options for a flow, while Case Designer supports a subset of options but displays the flow in the context of a case life cycle.
On the Life cycle tab of Case Designer, hover over a process in a stage and then click + Step.
In the palette that is displayed, click Collect information.
In the text field that is displayed, enter a unique name that describes the assignment.
On the General tab of the contextual property panel, enter values in the fields to indicate how the assignment is routed at run time.
In the Route to list, select Specific user.
In the autocomplete field that is displayed, press the Down Arrow key and select the name of a user.
In the Route to list, select Work queue.
In the autocomplete field that is displayed, press the Down Arrow key and select the name of a work queue.
In the Route to list, select Use business logic.
Click the Gear icon to configure the business logic.
In the Business logic dialog box, define a routing method:
In the Action list, select a routing method.
In the Value field, press the Down Arrow key and select the name of an operator or work queue, based on the routing method that you select.
In the When section, define the conditions that must be met before the routing method is selected:
In the Field list, select the name of a field in your data model.
In the Comparator list, select a function.
In the Value field, enter a value that is compared with the field at run time.
For example, you can test whether a case is older than five days or has an urgency that this greater than fifty.
Optional: To define more conditions, click the Add icon and repeat steps i through iii.
By default, all conditions in the When section must return a true value before the corresponding routing method is selected. You can change this behavior by selecting different Boolean operators from the list that is displayed next to each condition.
Optional: To define another routing method and corresponding conditions, click + Add condition and repeat steps c through d.
When you provide multiple sets of routing methods and conditions in your business logic, the first routing method to meet its conditions is selected at run time.
In the otherwise section, define a routing method to use when no conditions return a true value:
In the Action list, select a routing method.
In the Value field, press the Down Arrow key and select the name of an operator or work queue, based on the routing method that you select.
Click Done.
In the Route to list, select Custom.
In the Assignment type list, select an activity that creates an assignment.
Tip: To use a standard activity that is not in the list, configure the Assignment shape in Process Modeler. See: Routing an assignment in a flow.
In the Router field, press the Down Arrow key and select the name of an activity that determines how the assignment is routed.
For example, you can use the ToDecisionTree activity to route an assignment based on the value that is returned by a decision tree.
If the assignment is in a swimlane on the flow diagram, configure the assignment and the swimlane with the same router activity. You can access the swimlane by opening Process Modeler.
If the router activity accepts parameters, pass values for those parameters by entering values in the fields in the Parameters section.
Optional: To change the status of the case when the assignment is completed, press the Down Arrow key in the Set case status field and select a status value.
Optional: In the Instructions field, press the Down Arrow key and select a field value to display to users that describes the task that is accomplished when they complete the assignment.
Click Save.
At run time, the assignment is routed to the worklist of a user or a shared work queue. After the assignment is completed, the case moves to the next step in the process.
Tip: Click Configure view to define the fields on the form that is displayed when the assignment is processed.