The mappings for 2 multiple choice questions on the PHQ9 form are not matching with the answer choices in Salesforce. The transformations required are in the mapping sheet. The two questions are:
/begin_interview/position_of_respondent_in_the_household/begin_interview/what_is_your_marital_status
INVALID_OR_NULL_FOR_RESTRICTED_PICKLISTerror message is not showing.
To test/resolve
Rerun the job and make sure that error message is no longer showing. FYI there may be another error message that shows after but this issue can be closed after this specific error is resolved.
Describe the bug
The mappings for 2 multiple choice questions on the PHQ9 form are not matching with the answer choices in Salesforce. The transformations required are in the mapping sheet. The two questions are:
/begin_interview/position_of_respondent_in_the_household
/begin_interview/what_is_your_marital_status
To Reproduce
expression.js
Link to the job itself in Github: https://github.com/OpenFn/grassroot-soccer/blob/master/jobs/upsertPHQ9.js
state.json
https://www.openfn.org/projects/pd3yk4/messages?endDate=2021-05-12T11%3A24%3A11.741Z&triggerId=ty8dr8
Expected behavior
INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST
error message is not showing.To test/resolve
Rerun the job and make sure that error message is no longer showing. FYI there may be another error message that shows after but this issue can be closed after this specific error is resolved.