Update record
BetaChanges data
Changes existing data in AFAS Profit through an UpdateConnector.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The AFAS Profit connection the step signs in with. |
| UpdateConnectorRequired | The node sends it a PUT — AFAS's verb for changing a record that already exists. |
| Body | The AFAS Profit UpdateConnector envelope as JSON — or one {{ }} expression that produces it, e.g. {{ node["Build body"] }}. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `afas-profit`) |
connector | texta value from the vendor's own list |
data | any JSON |
Output
| Field | Type |
|---|---|
responseAFAS Profit response body | object |
Sample output, and the expression for each field
- response{}
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"connection": "<connection id>",
"connector": "<updateconnector>"
},
"label": "Update record",
"type": "afas.update",
"version": 1
}