OpenFn / grassroot-soccer

Grassroot Soccer CommCare-Salesforce integrations
https://openfn.github.io/grassroot-soccer/
0 stars 0 forks source link

Calculate Age from DOB for PHQ9 form #13

Closed daissatou2 closed 3 years ago

daissatou2 commented 3 years ago

Background, context, and business value

Calculate age using form.hidden_properties.date_of_birth and today's date and store in Age_of_Participant__c in Salesforce.

state.json

https://www.openfn.org/projects/pd3yk4/messages/mwbaa8a5

output.json

  1. Rerun this https://www.openfn.org/projects/pd3yk4/runs/rx858zky
  2. Confirm correct age is being mapped to Age_of_Participant__c
chaiwa-berian commented 3 years ago

@aleksa-krolls This is fixed. See run here.

aleksa-krolls commented 3 years ago

@daissatou2 if this is all resolved, can you please close the issue? (Keep open if you're anticipating any further feedback.)