Selected Interventions Echo - Get Task Resolution
- What is it? This formula will check if collection is complete for property and Service Task
Inputs
This formula requires 2 inputs to be passed through to it:
-
The Task ID
The ID of the task to query. This can be populated by the Selected Interventions Echo - Get Task Info, Next or Last Collection Date logic.
-
The value to return
Available options are:
- Resolution Name
- Resolution ID
Return values
Value | Description |
---|---|
The value as selected from the return values input | In the event that a task resolution was found with the desired property. |
[error] | If the integration is disabled or an error occurred, as detailed below. |
An empty string | If the task resolution was found but does not have a resolution code. |
Formula Logic
- A check is made to see if the integration has been enabled in the Settings > Integrations page. If the integration is not enabled the formula returns
[error]
. - A check is made against the provided Task ID. If it is empty, the formula returns
[error]
. - A lookup is performed with the Selected Interventions Echo API using the provided inputs.
- If the Selected Interventions Echo has returned an unexpected response, the formula returns
[error]
. - If the returned task has no resolution code, the formula returns an empty string.
- Otherwise, the formula returns the desired return value for the resolution code.