Custom Mapped Attributes
The following mapped attributes are included in the WorkflowTask.xsd
file and are available for your use without restrictions.
Table 32-11 Custom Mapped Attributes
Attribute | Data Type |
---|---|
customerAttributeString1 |
String |
customerAttributeString2 |
String |
customerAttributeNumber1 |
Double |
customerAttributeNumber2 |
Double |
customerAttributeDate1 |
Date |
customerAttributeDate2 |
Date |
Use the following Java Architecture for XML Binding (JAXB) methods to set and get these attributes:
task.getCustomerAttributes.getCustomerAttributeString1()
task.getCustomerAttributes.setCustomerAttributeString1("String")
task.getCustomerAttributes.getCustomerAttributeNumber1()
task.getCustomerAttributes.setCustomerAttributeNumber2(9)
task.getCustomerAttributes.setCustomerAttributeDate1()
task.getCustomerAttributes.setCustomerAttributeDate2()
These fields are persisted in the database as customerAttributeString1
, customerAttributeString2
, customerAttributeNumber1
, customerAttributeNumber2
, customerAttributeDate1
, customerAttributeDate2
.