FieldChange

This event is triggered when the value of the specified field changes.

Every change of value triggers the field change event when the field loses focus.

You can add code to this event procedure to perform an action when the value of a particular field is changed. For example, you can hide or display one field depending on the value the user enters into another field. For example, see Example: Changing One Field Based on Another Field.

Syntax

<entity>_FieldChange(FieldName)

where FieldName is the name of the field.

Type

Sub

Availability

  • AnalysisItem_FieldChange

  • AnalysisItemFolder_FieldChange

  • Baseline_FieldChange

  • Bug_FieldChange

  • BusinessModel_FieldChange

  • BusinessModelActivity_FieldChange

  • BusinessModelFolder_FieldChange

  • BusinessModelPath_FieldChange

  • Component_FieldChange

  • ComponentFolder_FieldChange

  • ComponentStep_FieldChange

  • Cycle_FieldChange

  • DashboardFolder_FieldChange

  • DashboardPage_FieldChange

  • DesignStep_FieldChange

  • Library_FieldChange

  • LibraryFolder_FieldChange

  • Release_FieldChange

  • ReleaseFolder_FieldChange

  • Req_FieldChange

  • Resource_FieldChange

  • ResourceFolder_FieldChange

  • Run_FieldChange

  • Step_FieldChange

  • Test_FieldChange

  • TestConfiguration_FieldChange

  • TestFolder_FieldChange

  • TestSet_FieldChange

  • TestSetFolder_FieldChange

  • TestSetTests_FieldChange

When a user changes a field value using the Find/Replace command, workflow events are not triggered. If restrictions implemented in workflow scripts are critical, consider disabling the Replace command for specific user groups, to ensure that your restrictions cannot be bypassed.