# Class: ScheduleWorkItemWithModelType

## tibco.objectapi.brm.ScheduleWorkItemWithModelType

#### new ScheduleWorkItemWithModelType()

Constructs a new ScheduleWorkItemWithModelType.

The following features are supported:

- `Item Schedule`
- `Item Context`
- `Item Body`
- `Dynamic Entities`
- `Dynamic Org Attributes`
- `Allocate To Member`
- `Group ID`
- `Work Model UID`
- `Work Model Version`

### Members

#### allocateToMember :string

If specified this Work Item will be allocated to this resource GUID, if the resource is in the offerset. This property holds the value of the 'Allocate To Member' attribute.

##### Type:

- string

#### dynamicEntities :Array.<string>

If specified, this will be used to determine the entity that is used to schedule the work item. It will override any settings associated with the work model being used. This field describes 1 of the following dynamic entities:- An single resource query that will resolve the entity or entities. The query must conform to the Resource Query Language (RQL) specification. See the product documentation for detailed information about RQL syntax. 1 or more entity GUIDS defining the who the item is scheduled too. This property holds the value of the 'Dynamic Entities' attribute list.

##### Type:

- Array.<string>

#### dynamicOrgAttributes :Array.<tibco.objectapi.common.organisation.XmlDynamicIdField>

If specified, this will specifiy the array of name / value pairs of attributes that DE will use to identify the correct dynamic instance for any template org model entity. This property holds the value of the 'Dynamic Org Attributes' containment reference list.

##### Type:

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

#### groupID :string

The ID of the group associated with this operation, if there is one. This property holds the value of the 'Group ID' attribute.

##### Type:

- string

#### itemBody :tibco.objectapi.brm.ItemBody

The work item body, containing each data field (as a name/value pair) required by the data model in the work item's work type. This property holds the value of the 'Item Body' containment reference.

##### Type:

- tibco.objectapi.brm.ItemBody

#### itemContext :tibco.objectapi.brm.ItemContext

The work item's context, as supplied by the application that scheduled the work item. This property holds the value of the 'Item Context' containment reference.

##### Type:

- tibco.objectapi.brm.ItemContext

#### itemSchedule :tibco.objectapi.brm.ItemSchedule

The schedule period to be associated with the work item. If no object is passed then the item with have no schedule and cannot be worked on. If an empty object is passed BRM will default this to immediately available with no target date. This property holds the value of the 'Item Schedule' containment reference.

##### Type:

- tibco.objectapi.brm.ItemSchedule

#### workModelUID :string

The UID of the work model to scehdule this item against. This property holds the value of the 'Work Model UID' attribute.

##### Type:

- string

#### workModelVersion :string

The OSGi version range string of the work model to use. This property holds the value of the 'Work Model Version' attribute.

##### Type:

- string