Create record
- 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
Create record
- Updated on 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
Create a new record to 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 |
---|---|---|---|---|---|
Create data record request | request |
DataResourceCreateRequest | Yes | – | Configuration required by the selected data resource to create a new data record. |
Output arguments
Number of outputs: 2
Label | Key | Type | Description |
---|---|---|---|
Response | response |
DataResourceCreateResponse | Response returned by the data resource after the record is successfully created. |
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 creating the record. |
Was this article helpful?