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

Field mapping not returning value `unhcr_id_no: undefined` #18

Closed aleksa-krolls closed 3 years ago

aleksa-krolls commented 3 years ago

Bug

See this run - L22: unhcr_id_no: undefined. However, the source value is available in state and the job mapping looks right to me... what do you think is going on? (This might be affecting other mappings too, if it is an issue)

expression

https://github.com/OpenFn/primero-progres/blob/0c6801fb13ae5f778269607de6595c6c155fab40/jobs/1.upsertExtracts.js#L440

state

See L14 for the source value I expect to be returned: UGA-19-00009 https://www.openfn.org/projects/p5am6e/messages/mmq5g67g

To test

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

aleksa-krolls commented 3 years ago

@lakhassane Let me know if this can be addressed before 10:30a Senegal time. (UNHCR is starting a testing session then, so I need to let them know if the bug has been resolved.)

lakhassane commented 3 years ago

@aleksa-krolls I made the corrections: https://www.openfn.org/projects/p5am6e/runs/r3xmrgge