HasReviewStates

Characteristic Description

Icon


Icon for methods

Availability

All non-deleted forms.

Return type and description

Boolean.

Returns true if the form is in the review stage specified in the parameter. Review stages appear in the folder for the form.

Syntax

HasReviewState(Name of review stage)

Parameters

  • Parameterstage.
  • Definition—Review stage of the form.
  • Data type—Integer.

Example

The following example returns True if the form is in the NeedsReview stage of the QA Review review state:

HasReviewState(this.QAReview.NeedsReview)

Purpose

Use this method to check whether a form is in a particular review stage.