# Class: WorkResponseType

## tibco.objectapi.wp.WorkResponseType

#### new WorkResponseType()

Constructs a new WorkResponseType.

The following features are supported:

- `Payload Model`
- `Work Type Detail`
- `Presentation`
- `Work Item`
- `Page Flow Detail`

### Extends

- tibco.objectapi.wp.base.Success

### Members

#### isSuccessful :boolean

Boolean value indicating whether the call to WorkPresentationService was successful. This property holds the value of the 'Is Successful' attribute.

##### Type:

- boolean

Overrides:
  - tibco.objectapi.wp.base.Success#isSuccessful

#### pageFlowDetail :tibco.objectapi.wp.service.PageFlowType

Details of the pageflow (if the work item displays a pageflow). This property holds the value of the 'Page Flow Detail' containment reference.

##### Type:

- tibco.objectapi.wp.service.PageFlowType

#### payloadModel :tibco.objectapi.common.datafeed.DataPayload

If the work item displays: - a form: payloadModel contains the data payload for the specified work item. - a pageflow: payloadModel is not used. (In this case, the data payload for the first page of the pageflow must be obtained separately by using a startPageFlow operation.) This property holds the value of the 'Payload Model' containment reference.

##### Type:

- tibco.objectapi.common.datafeed.DataPayload

#### presentation :tibco.objectapi.wp.PresentationType

If the work item displays: - a form: presentation contains details of the form artifact associated with this work item. - a pageflow: presentation is not used. (In this case, the form artifact details for the pageflow are contained in thePageFlowDetail element.) This property holds the value of the 'Presentation' containment reference.

##### Type:

- tibco.objectapi.wp.PresentationType

#### workItem :tibco.objectapi.wp.base.WorkItem

In a response to a: - cancelWorkItem, closeWorkItem, openWorkItem or openNextWorkItem operation: Identifier of this work item. - completeWorkItem operation: Identifier of the next work item, if this work item is part of a chained group or is a piled work item. (If it is not, workItem is not returned.) This property holds the value of the 'Work Item' containment reference.

##### Type:

- tibco.objectapi.wp.base.WorkItem

#### workTypeDetail :tibco.objectapi.wp.WorkTypeDetailType

Details of the work type associated with this work item. This property holds the value of the 'Work Type Detail' containment reference.

##### Type:

- tibco.objectapi.wp.WorkTypeDetailType