Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

EA_AllowTagUpdate

This event is sent to Workflow Add-Ins after a user has changed a Tagged Value.

Syntax

Function EA_AllowTagUpdate (Repository As EA.Repository, Info As EA.EventProperties) As Boolean

Parameter

Type

See also

Repository

EA.Repository

Direction: IN

Description: An EA.Repository object representing the currently open Enterprise Architect model. Poll its members to retrieve model data and user interface status information.

Repository Class

Info

EA.EventProperties

Direction: IN

Description: Contains these EventProperty objects describing the requested Tagged Value update:

  • Type: A string value corresponding to Element.Type
  • Stereotype: A string value corresponding to Element.Stereotype
  • TagName: The name of the Tagged Value field to enable or disable
  • OldValue: The previous value of the tag
  • NewValue: The new value of the tag
EventProperties Class

Return Value

  • Return False to prevent this change to the described Tagged Value
  • Return True to allow this change

Learn more