Update record
- 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
Update record
- Updated on 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
Updates an existing data record in a data resource.
If the data resource is not a local resource, running this flow function will make a HTTP call to the endpoint defined in the resource configuration.
Input arguments
Label | Key | Type | Required? | Default | Description |
---|---|---|---|---|---|
Update data record request | request |
DataResourceReplaceRequest | Yes | – | Configuration required by the selected data resource to update an existing data record. |
Output arguments
Number of outputs: 2
Label | Key | Type | Description |
---|---|---|---|
Response | response |
DataResourceReplaceResponse | Response returned by the data resource after the record is successfully updated. |
Events
No events.
Errors
Label | Code | Description |
---|---|---|
Request failed | requestFailed |
Thrown if the entire request failed due to e.g. CORS issues or no network connectivity. |
Server error | serverError |
Thrown if the server returned an error response. |
Resource not found | resourceNotFound |
Thrown if the resouce you are trying to get was not found. |
Unknown error | unknown |
Thrown if an unknown error occurred while updating the record. |
Was this article helpful?