Assigning a task to an external application
You can use the Assignment Service shape to send a request from a process to an external application, and wait for the application to respond. For example, in a mortgage case, a loan officer can assign a task to an external party to get the credit score for a customer, and proceed with reviewing a loan request from the customer only when the external party sends the credit score.
The Assignment Service shape moves a case to the next step only after receiving a response from the external system. The Assignment Service tasks support asynchronous coordination with external systems, in contrast to Integrator tasks, which support synchronous connections.
For more information, see Connecting a process to an external application and Asynchronous integration.
- Add the Assignment Service shape to your process.
- In the navigation pane of Dev Studio, click App.
- On the Classes tab, expand the case type for which you want to add the assignment, and then click .
- In the list of process instances, double-click a process that you want to open.
- On the Flow form, on the Diagram tab, click the Flow shapes icon, and then click .
- Drag the Assignment Service shape to a position on the flow diagram based on the order of events in the process.
- Connect the Assignment Service shape by dragging connector end points to connection points on different shapes in the process.
- Modify the Assignment Service shape to send a request from a process to an external
application.
- Double-click the Assignment Service shape to open the property pane.
- In the Assignment Service field, enter a name for the
shape.Choose a name that is meaningful to users who see the name on the work object history display, the breadcrumbs control (for entry points), and inside the Assignment Service shape on the Diagram tab.
The task name does not affect run-time processing of the flow.
- In the Type field, press the Down arrow key, and then select the name of a connect activity.
- If the activity accepts input parameters, enter parameter values in the list that is displayed.
- Optional: To associate a service-level agreement with the Assignment Service shape that is independent from service-level agreements set on a flow or case type, press the Down arrow key, and then select the name of a service-level agreement that you want to apply.
- Optional: To control the text of instances that are added to the work item history when flow processing completes this shape, in the Audit Note field, enter or select the name of a Rule-Message rule.
- Optional: To update the status of a case on this shape, in the Work
status field, press the Down arrow key, and then select a value that you
want to apply.For more information, see Changing case statuses.
- Optional: To activate a ticket in a flow that detects an exception, error flow, or event, in the Tickets section, in the Ticket name and the Display name fields, press the Down arrow key, and then provide values that you want to apply. For more information, see
- Click Submit.
- Click Save.
Adjusting a service-level agreement for the Assignment Service shape
Meet your business goals by adjusting the service-level agreement defined for the Assignment Service shape in a process. By defining goals and deadlines, you can set expectations for the time that it takes an external system to complete a single task in the process.
Service-level agreements on shapes override service-level agreements that are set on processes and case types.
- Open the process that contains the Assignment Service shape that you want to
modify:
- In the navigation pane of Dev Studio, click App.
- On the Classes tab, expand the case type for which you want to add the assignment, and then click .
- In the list of process instances, double-click a process that you want to open.
- Modify the SLA for the Assignment Service shape:
- Double-click the Assignment Service shape to open the property pane.
- In the Service level field, press the Down Arrow key, and
then select the name of a service-level agreement.
- Click Submit.
- Click Save.
Previous topic Assigning a task to a robotic work queue Next topic Connecting a process to an external application