OpenFn / adaptors

The new home for OpenFn adaptors; re-usable connectors for the most common DPGs and DPI building blocks.
GNU General Public License v3.0
4 stars 8 forks source link

`primero` Fetching referrals improvements #661

Open mtuchi opened 2 days ago

mtuchi commented 2 days ago

Description

When fetching cases referrals during job execution the logs doesn't mention were fetching referrals, This might seem like the workflow is stuck while in reality we are fetching case referrals

Request in few words

josephjclark commented 2 days ago

Yeah, the documentation right now is actually wrong!

We need to correct the docs and add an example with referrals. We should also add a note that referrals generates one request per case and may impact performance.

I think we should fix this immediately while we're looking at it. It won't take long.

josephjclark commented 2 days ago

It is annoying that primero seems to have an id to bulk-insert referrals for a number of cases; but has no API to bulk-fetch referrals for a number of cases. Oh well.