findAnswersByTarget()
returns individual form answers for a specific question where the target (the person the form is about) matches a given person, optionally filtered by date range this is the answer level equivalent of findresponsesbytarget() — useful for aggregating scores or values from a single question across all submissions about a specific employee syntax findanswersbytarget(question, target\[, from]\[, until]) parameters parameter type description question string docid\ ujw2aqaktel5uuklup73s name or id of the question/field to retrieve answers for target person the person the form responses are about from timestamp docid\ j1ufztc3 yprdi3ucin3u starting point of the date range to traverse (inclusive) until timestamp docid\ j1ufztc3 yprdi3ucin3u ending point of the date range to traverse (exclusive) return type list docid\ xwh cukhj9waqaefb7h71 < formanswer docid\ pjyhwzhyk83aoscqv k6l > examples findanswersbytarget('managerreviewrating', person, ' 365d') mean{answervalue} returns the average manager review rating given about the current person in the past year findanswersbytarget('peerfeedbackimpactrating', person, ' 180d') count() counts the number of peer feedback impact ratings submitted about the current person in the past 6 months
