FlowmageDocs

Update record

BetaChanges data

Changes existing data in AFAS Profit through an UpdateConnector.

Settings

SettingWhat it is
ConnectionRequiredThe AFAS Profit connection the step signs in with.
UpdateConnectorRequiredThe node sends it a PUT — AFAS's verb for changing a record that already exists.
BodyThe AFAS Profit UpdateConnector envelope as JSON — or one {{ }} expression that produces it, e.g. {{ node["Build body"] }}.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `afas-profit`)
connectortexta value from the vendor's own list
dataany JSON

Output

FieldType
responseAFAS Profit response bodyobject
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
}