OpenFn/lwala

TypeError [Error]: Cannot read property 'Child_Information' of undefined

Closed this issue · 1 comments

A new error has surfaced in this Update Person job we've recently made changes in as part of issues #21 and #22. See run failure here.
TypeError [Error]: Cannot read property 'Child_Information' of undefined

Specific request

Can you please troubleshoot and make the appropriate changes as needed? We need to handle different types of state for this CommCare form where the Child_Information object might not at all be present in the JSON Message payload.

state.json

Use sample_data/state_noChildInfo.json.

adaptor

language-salesforce

expression.js

Update-Person-in-SF-Production.js

Toggl

Lwala Cleanup Project

Closing this as it is solved.