Databases Reference
In-Depth Information
For our purposes, we will set the following flex fields in our
(OrderFulfillmentTask
:
Flex ield
Attribute
textAttribute1
itemId
textAttribute2
buyerId
numberAttribute1
salePrice
numberAttribute2
totalPrice
dateAttribute1
saleDate
textAttribute3
orderStatus
textAttribute4
nextAction
You will need to update the local variable
initiateTaskInput
, which
will be defined in the scope with the same name as the Human Task
(
OrderFulfillmentTask
in our case). The flex fields are located in the
systemMessageAttributes
element of the
task
element, as illustrated in
the following screenshot:
Accessing flex fields
Once we have populated the flex fields, we can access them in our query just like any
other task attribute. This will give us a
displayColumnList
that looks as follows:
<displayColumnList
xmlns="http://xmlns.oracle.com/bpel/workflow.taskQuery">
<displayColumn>
TaskNumber
</displayColumn>
<displayColumn>
Title
</displayColumn>
<displayColumn>
UpdatedDate
</displayColumn>
<displayColumn>
TextAttribute1
</displayColumn>
<displayColumn>
TextAttribute2
</displayColumn>
<displayColumn>
NumberAttribute1
</displayColumn>