OpenFn / primero-progres

Interoperability solution for UNICEF <> UNHCR interagency referrals between Primero and Progres v4 systems.
https://openfn.github.io/primero-progres/
0 stars 2 forks source link

Flow 2: Primero referral to DTP fails #19

Closed aleksa-krolls closed 3 years ago

aleksa-krolls commented 3 years ago

Bug

See this run ... we need to handle for scenarios where language and protection_concerns might not be defined in primero... if that's the case, then we return null in the mapping when sending to DTP

expression

https://github.com/OpenFn/primero-progres/blob/master/jobs/2.b.uploadReferrals.js

state

https://www.openfn.org/projects/p5am6e/messages/mj45kk69

To test

Please feel free to re-run this on prod: https://www.openfn.org/projects/p5am6e/messages/mj45kk69

lakhassane commented 3 years ago

Correction made: https://www.openfn.org/projects/p5am6e/runs/rwapnygn