FlowmageDocs

Get records

BetaReads dataVersion 3

Reads rows from AFAS Profit, like employees or debtors.

Settings

SettingWhat it is
ConnectionRequiredThe AFAS Profit connection the step signs in with.
GetConnectorRequiredPicked from the list AFAS Profit offers.
Max rowsRows per call, 1 to 1,000 — or -1 with Skip rows -1 for every row in one call. With Fetch every page on, this is the page size.
Skip rowsHow many rows to pass over first — pairs with Max rows to read page by page. Set both to -1 for every row in one call.
Fetch every pageFetches page after page until the connector runs out, and refuses past 10,000 rows rather than answering a short list. Set a sort first — paging without an order can repeat or miss rows.
Sort by field idsComma-separated AFAS Profit field ids; put a minus in front of one to sort it descending.
Filter field idsComma-separated AFAS Profit field ids — one per filter, in the same order as below.
Filter valuesOne value per field id above, in the same order.
Filter operatorsAFAS Profit operator type ids, comma-separated — one per field id above, in the same order.
CursorPaste a previous run's Next cursor to read the page after it.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `afas-profit`)
connectortexta value from the vendor's own list
takenumber, by default 100
skipnumber, by default 0
returnAlltrue/false, by default false
sorttext
filterFieldIdstext
filterValuestext
operatorTypestext
cursortext

Output

FieldType
rowsarray
rowCountnumber
hasMoreMore rows are waiting behind this pageboolean
nextCursorCursor for the next pagestring
Sample output, and the expression for each field
  • hasMorefalse
  • rowCount0
  • rows[]

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": "<getconnector>",
    "cursor": "",
    "returnAll": false,
    "skip": 0,
    "sort": "",
    "take": 100
  },
  "label": "Get records",
  "type": "afas.get",
  "version": 3
}

Older versions

A flow that already has this version keeps running it. A new step always gets the newest.

Version 2
SettingWhat it is
ConnectionRequiredThe AFAS Profit connection the step signs in with.
GetConnectorRequiredPicked from the list AFAS Profit offers.
Max rowsRows per call, 1 to 1,000 — or -1 with Skip rows -1 for every row in one call. With Fetch every page on, this is the page size.
Skip rowsHow many rows to pass over first — pairs with Max rows to read page by page. Set both to -1 for every row in one call.
Fetch every pageFetches page after page until the connector runs out, and refuses past 10,000 rows rather than answering a short list. Set a sort first — paging without an order can repeat or miss rows.
Sort by field idsComma-separated AFAS Profit field ids; put a minus in front of one to sort it descending.
Filter field idsComma-separated AFAS Profit field ids — one per filter, in the same order as below.
Filter valuesOne value per field id above, in the same order.
Filter operatorsAFAS Profit operator type ids, comma-separated — one per field id above, in the same order.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `afas-profit`)
connectortexta value from the vendor's own list
takenumber, by default 100
skipnumber, by default 0
returnAlltrue/false, by default false
sorttext
filterFieldIdstext
filterValuestext
operatorTypestext
Version 1
SettingWhat it is
ConnectionRequiredThe AFAS Profit connection the step signs in with.
GetConnectorRequiredPicked from the list AFAS Profit offers.
Max rowsRows per call, 1 to 1,000. With Fetch every page on, this is the page size.
Skip rowsHow many rows to pass over first — pairs with Max rows to read page by page.
Fetch every pageFetches page after page until the connector runs out, and refuses past 10,000 rows rather than answering a short list. Set a sort first — paging without an order can repeat or miss rows.
Sort by field idsComma-separated AFAS Profit field ids; put a minus in front of one to sort it descending.
Filter field idsComma-separated AFAS Profit field ids — one per filter, in the same order as below.
Filter valuesOne value per field id above, in the same order.
Filter operatorsAFAS Profit operator type ids, comma-separated — one per field id above, in the same order.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `afas-profit`)
connectortexta value from the vendor's own list
takenumber, by default 100
skipnumber, by default 0
returnAlltrue/false, by default false
sorttext
filterFieldIdstext
filterValuestext
operatorTypestext