Closed aleksa-krolls closed 3 years ago
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
language
protection_concerns
null
https://github.com/OpenFn/primero-progres/blob/master/jobs/2.b.uploadReferrals.js
https://www.openfn.org/projects/p5am6e/messages/mj45kk69
Please feel free to re-run this on prod: https://www.openfn.org/projects/p5am6e/messages/mj45kk69
Correction made: https://www.openfn.org/projects/p5am6e/runs/rwapnygn
Bug
See this run ... we need to handle for scenarios where
language
andprotection_concerns
might not be defined in primero... if that's the case, then we returnnull
in the mapping when sending to DTPexpression
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