You are here: Case management > Modeling a workflow > Creating a flow > Configuring the Utility shape

Configuring the Utility shape

After you add a Utility shape to a flow, you can configure it to call an activity. By using utilities, you can perform processing, such as computations or data retrieval, without human input.

Tip: Place a Utility shape before and after an Assignment shape to perform pre and post processing in your flow.

  1. Double-click the Utility shape.

  2. Complete the fields in the property panel as described in the table below.

  3. Click Submit to close the property panel.

  4. Hover on an existing shape in the flow and drag a connector from it to the Utility shape.

  5. Hover on the Utility shape and drag a connector to an existing shape in the flow.

    Note: If the activity uses the TaskStatus-Set method to one of a few possible activity outcomes, the outgoing connectors can depend on this Status value. For example, a utility activity might return the values "HIRE", "REJECT", and "WAIT" through a TaskStatus-Set method. Using three connectors from the utility, one for each status value, simplifies the flow diagram by eliminating a fork or decision shape.