REST API getWorkListItems is not returning extended attribute1-40

REST API getWorkListItems is not returning extended attribute1-40

book

Article ID: KB0084217

calendar_today

Updated On:

Products Versions
TIBCO BPM Enterprise (formerly TIBCO ActiveMatrix BPM) 3.0.0, 3.1.0

Description

By default, extended attributes are not returned.  An additional option "enhancedattributes" should be set to "true" on the REST call in order to get the extended attributes. This additional option is not mentioned in the documentation.

Issue/Introduction

REST API getWorkListItems is not returning extended attribute1-40 .

Resolution

Use "enhancedattributes" option as follows and it will return all attributes in the REST response.

http://<ComputerName>:8080/bpm/rest/worklist/items/resource/tibco-admin/0/10?enhancedattributes=true

Example:

   <attributes attribute1="1" attribute2="TEXT 2" attribute15="0" attribute39="TEXT 3" attribute40="TEXT 4"/>

Additional Information