# Class: WorkModelEntity

## tibco.objectapi.brm.WorkModelEntity

#### new WorkModelEntity()

Definition of a work model entity, either as a set of entities or as an expression to evalute at runtime. Constructs a new WorkModelEntity.

The following features are supported:

- `Entity Query`
- `Entities`
- `Distribution Strategy`

### Members

#### distributionStrategy :tibco.objectapi.brm.DistributionStrategy

Whether to use ALLOCATE or OFFER with the provided set to entities or entity expression. This property holds the value of the 'Distribution Strategy' attribute.

##### Type:

- tibco.objectapi.brm.DistributionStrategy

#### Entities :Array.<tibco.objectapi.common.organisation.XmlModelEntityId>

A set of organisational entities that should be used by BRM at runtime when scheduling the item. This property holds the value of the 'Entities' containment reference list.

##### Type:

- Array.<tibco.objectapi.common.organisation.XmlModelEntityId>

#### EntityQuery :tibco.objectapi.common.organisation.XmlResourceQuery

This is an expression that should be used by BRM at runtime to query Directory Engine for a set of organistion enities to use when scheduling the item. This property holds the value of the 'Entity Query' containment reference.

##### Type:

- tibco.objectapi.common.organisation.XmlResourceQuery