FlowmageDocs

Delete record

BetaChanges data

Deletes a record from AFAS Profit, like a debtor or an employee.

Settings

SettingWhat it is
ConnectionRequiredThe AFAS Profit connection the step signs in with.
UpdateConnectorRequiredThe node sends it a DELETE — AFAS's verb for removing a record.
Delete pathRequiredThree steps, separated by slashes: the element, the element with its key field, and the key's value — <Element>/<Element>@<KeyField>/<value>.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `afas-profit`)
connectortexta value from the vendor's own list
pathtext

Output

FieldType
deletedboolean
Sample output, and the expression for each field
  • deletedtrue

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>",
    "path": "<delete path>"
  },
  "label": "Delete record",
  "type": "afas.delete",
  "version": 1
}