The Get by association activity is used to create a new variable over an association of an entity with the value of the association.
The customer entity has an association with a company, as specified in the association tab of the entity. If you have an entity of the type Customer in your flow, you can get the corresponding Company by using the Get by association activity:
Activity properties
begin var Company: DataSource.Codolex.ICompany; Company := Customer.Company; end; |
Resulting Code
Watch the following video for more information and a demo of this activity.