Carrot reference
Functions

findFormTasksByAssessment()

Returns form-completion Tasks related to a particular Form within a particular Assessment.

This is particularly useful for reporting on completion rates.

Syntax

findFormTasksByAssessment(assessment[, form])

Parameters

Parameter

Type

Description

assessment

String

Name or ID of the Review or Survey

form

String

Name or ID of the Form

Return Type

List <Task>

Examples

findFormTasksByAssessment('1H Performance Review', 'Manager Review').countPercent{status:done}

Returns the percentage of Manager Review submissions that were completed in the "1H Performance Review" assessment.

findFormTasksByAssessment('Engagement Survey').count()

Returns the number of Engagement Survey submissions that were sent out.