element previewWorkItemResponse
diagram wp_diagrams/wp_p26.png
namespace http://api.wp.n2.tibco.com
properties
content complex
children previewData isSuccess
annotation
documentation
Response element for previewing a workItem
source <xs:element name="previewWorkItemResponse">
 
<xs:annotation>
   
<xs:documentation>Response element for previewing a workItem</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="previewData" minOccurs="0" maxOccurs="unbounded">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Presentation" type="base:PresentationArtifact"/>
           
<xs:element name="workItem" type="base:WorkItem"/>
           
<xs:element name="payload">
             
<xs:complexType>
               
<xs:choice>
                 
<xs:element name="serializedPayload" type="xs:string"/>
                 
<xs:element name="xmlPayload" type="dm:FieldType" maxOccurs="unbounded"/>
               
</xs:choice>
             
</xs:complexType>
           
</xs:element>
           
<xs:element name="responseType" type="df:payloadModeType"/>
           
<xs:element name="workType" type="dm:WorkTypeSpec" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="isSuccess" type="xs:boolean" default="false"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element previewWorkItemResponse/previewData
diagram wp_diagrams/wp_p27.png
properties
minOcc 0
maxOcc unbounded
content complex
children Presentation workItem payload responseType workType
source <xs:element name="previewData" minOccurs="0" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Presentation" type="base:PresentationArtifact"/>
     
<xs:element name="workItem" type="base:WorkItem"/>
     
<xs:element name="payload">
       
<xs:complexType>
         
<xs:choice>
           
<xs:element name="serializedPayload" type="xs:string"/>
           
<xs:element name="xmlPayload" type="dm:FieldType" maxOccurs="unbounded"/>
         
</xs:choice>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="responseType" type="df:payloadModeType"/>
     
<xs:element name="workType" type="dm:WorkTypeSpec" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element previewWorkItemResponse/previewData/Presentation
diagram wp_diagrams/wp_p28.png
type PresentationArtifact
properties
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
type  derived by: xs:string  required      
documentation
Type of form artifact. One of:

- GWT_FORM
- GI_FORM
- PAGEFLOW
- CUSTOM_FORM
- FORM
formIdenitifier  xs:string  optional      
documentation
Identifier for the JSON form artifact to be used to display the data for the work item.
activityName  xs:string  optional      
documentation
Name of the process activity from which the work item was generated.
version  xs:string        
documentation
Version number of the form artifact.
source <xs:element name="Presentation" type="base:PresentationArtifact"/>

element previewWorkItemResponse/previewData/workItem
diagram wp_diagrams/wp_p29.png
type WorkItem
properties
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  xs:long  required      
documentation
Unique ID of the work item.
version  xs:long    -1    
documentation
Version number of the work item.
source <xs:element name="workItem" type="base:WorkItem"/>

element previewWorkItemResponse/previewData/payload
diagram wp_diagrams/wp_p30.png
properties
content complex
children serializedPayload xmlPayload
source <xs:element name="payload">
 
<xs:complexType>
   
<xs:choice>
     
<xs:element name="serializedPayload" type="xs:string"/>
     
<xs:element name="xmlPayload" type="dm:FieldType" maxOccurs="unbounded"/>
   
</xs:choice>
 
</xs:complexType>
</xs:element>

element previewWorkItemResponse/previewData/payload/serializedPayload
diagram wp_diagrams/wp_p31.png
type xs:string
properties
content simple
source <xs:element name="serializedPayload" type="xs:string"/>

element previewWorkItemResponse/previewData/payload/xmlPayload
diagram wp_diagrams/wp_p32.png
type FieldType
properties
minOcc 1
maxOcc unbounded
content complex
children simpleSpec complexSpec
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string  required      
documentation
Name of the data field.
type  derived by: xs:string  required      
documentation
Type of the data field (e.g. string, integer etc.).
optional  xs:boolean  optional      
documentation
Boolean value that defines whether the parameter is optional (default is false).
array  xs:boolean        
documentation
Indicates whether this parameter contains an array of values (default is false).
source <xs:element name="xmlPayload" type="dm:FieldType" maxOccurs="unbounded"/>

element previewWorkItemResponse/previewData/responseType
diagram wp_diagrams/wp_p33.png
type payloadModeType
properties
content simple
facets
Kind Value Annotation
enumeration XML
enumeration JSON
enumeration RSS
source <xs:element name="responseType" type="df:payloadModeType"/>

element previewWorkItemResponse/previewData/workType
diagram wp_diagrams/wp_p34.png
type WorkTypeSpec
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
workTypeID  xs:string  required      
documentation
The UID of the work type
workTypeDescription  xs:string  required      
documentation
The description of the work type.
version  xs:string        
documentation
The OSGi version number of this work type.
source <xs:element name="workType" type="dm:WorkTypeSpec" minOccurs="0"/>

element previewWorkItemResponse/isSuccess
diagram wp_diagrams/wp_p35.png
type xs:boolean
properties
content simple
default false
source <xs:element name="isSuccess" type="xs:boolean" default="false"/>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy