Skip to main content

Echo Service Unit Tasks

The Echo Service Unit Tasks Form Component allows options from a list of Service Unit Tasks obtained from the Selected Interventions Echo API to be presented to the user to select from, during a form submission.

Settings

When adding the component to a page template, the following settings will need to be configured:

NameDescription
Configure Option Label if Service unit task is not in the listDefaults to The desired service unit task is not listed.
Exclude Task Type IDsA comma separated list of Task Type IDs. If a task is found to use any of these Task Type IDs, it will be excluded from the list.
Assisted Collection Data Type IDThe form will attempt to find an associated Assisted Collection attached to the user selected service unit task and store its value.
Assisted Collection Field NameThe form will attempt to find an associated Assisted Collection attached to the user selected service unit task and store its value.

Configuring a "Service Unit Tasks" Component

Configuring a "Service Unit Tasks" Component in Page Setup

Dictionary Entries

It is possible to override the label for any item in the select element of the Service Unit Tasks component using the Forms Dictionary functionality.

To do so, set the Label value to the desired overwritten value, and add the existing value as returned from the Echo API to the Key(s) values.

The original Value of the selected task is required to retrieve details of that task, and so any text added to the Value in the dictionary entry will be ignored.

Variables

On selecting a task from the select element, the following metadata for that task will be made available as variables:

  • Service Task ID
  • Task Type ID
  • Task Type Name
  • Label
  • Service ID
  • Service Name
  • Task Indicator ID
  • Assisted Collection