FunctionCopy link to clipboard
a!integrationError( title, message, detail )
Creates an integration error value. Use when configuring custom error handling for integration objects.
ParametersCopy link to clipboard
Keyword | Type | Description |
---|---|---|
|
Text |
A short summary of the error or the error type. |
|
Text |
A description of the error. |
|
Text |
Technical details about the error, including error codes or underlying error messages. |
ReturnsCopy link to clipboard
Integration error value
Usage considerationsCopy link to clipboard
Get error valuesCopy link to clipboard
fv!success
, fv!error
, and fv!result
can be used to get response values from any errors.
ExampleCopy link to clipboard
In a call to another system that does not support PUT
, the following error message:
1
2
3
4
5
=a!integrationError(
title: fv!error.title,
message: fv!result.statusCode & "- " & fv!error.message,
detail: fv!error.detail
)
Copy
Results in:
1
2
3
4
IntegrationError
title: "The external system cannot support the request"
message: "405 - The requested URL does not support the PUT method"
detail: "HTTP/1.1 405 Method not allowed"
Copy
Feature compatibilityCopy link to clipboard
The table below lists this function's compatibility with various features in Appian.
Feature | Compatibility | Note |
---|---|---|
Portals | Partially compatible | Can be used with Appian Portals if it is connected using an integration and web API. |
Offline Mobile | Partially compatible | Can be used with offline mobile if it is loaded at the top of the form. |
Sync-Time Custom Record Fields | Incompatible | |
Real-Time Custom Record Fields | Incompatible | Custom record fields that evaluate in real time must be configured using one or more Custom Field functions. |
Process Reports | Incompatible | Cannot be used to configure a process report. |
Process Events | Incompatible | Cannot be used to configure a process event node, such as a start event or timer event. |
Process Autoscaling | Compatible |