This class is used to encapsulate the concept of a variable to be used within a transaction group. This is designed to allow for the flow of data from one item in a transaction group to another. For example say you had a transaction group where you are creating a new record in EntityA and you wanted to get the newly created ID value from that record and then set it into a field called "EntityA_ID" in a record in EntityB. You can do this by telling the TransactionGroup about these variables with the AddVariable() method in the TransactionGroupBase/sub-classes.

Constructors

Properties

_entityObject: BaseEntity<unknown>
_fieldName: string
_isProcessed: boolean = false
_name: string
_processedValue: any
_type: "Define" | "Use"

Accessors

  • get IsProcessed(): boolean
  • Indicates if the variable has been processed. This is only true after the transaction group has been submitted and the results have been mapped back to the variables.

    Returns boolean