Query task based on payload (urgent and not getting any solution)

Hi, I m creating a task in BPEL process with following payload.
<?xml version="1.0" encoding="UTF-8"?>
<schema attributeFormDefault="unqualified"
elementFormDefault="qualified"
targetNamespace="http://xmlns.oracle.com/RegistrationUpload_jws/RegistrationUpload/OfficerList"
xmlns="http://www.w3.org/2001/XMLSchema">
<element name="process">
<complexType>
<sequence>
<element name="jobAssignmentType" type="string"/>
<element name="officerLevelNum" type="string"/>
<element name="applicationType" type="string"/>
<element name="functionId" type="string"/>
<element name="app_id_val">
<complexType>
<sequence>
<element name="key" type="string"/>
<element name="value" type="string"/>
</sequence>
</complexType>
</element>
<element name="dcConservationFlag" type="string"/>
</sequence>
</complexType>
</element>
</schema>*
Now i want to use queryTask with function
List tasks = querySvc.queryTasks(ctx, queryColumns, null, //Do not query additional info
ITaskQueryService.AssignmentFilter.MY,
null, //No keywords
null, //No custom predicate
null, //No special ordering
0, //Do not page the query result
0);
My query is i want to query the tasklist based on paylod item as dcConservationFlag="N" and functionId="1001" so how I will set the code.
My feeling is somewhere we need to set it in predicate class. but not sure how to do that.
can anyone please guide me for this.
Edited by: abhishek on Apr 27, 2011 2:34 AM
Edited by: abhishek on Apr 27, 2011 9:17 PM

if you want your task searchable, you should use flex-attributes. you should find it in /task:task/task:systemManagedAttributes
during search you can use query like this column=textAttribute1

Similar Messages

Maybe you are looking for

  • How to export photos from one library to other?

    I have two Aperture's libraries. The first one has my full albums, since 2001, and runs on my 2Tb external HD. The other one, has only the current year's photos, and is storaged on my Macbook Pro local disk. So I want to export ou migrate all my 2011

  • Lion crash while I am trying to ugrade from 10.6.8

    Dear All I just upgrade form 10.5 to 10.6.8, successefully Now I am trying to upgrade to Lion. Then I inserted a disk with the dmg of Lion. It start but it always crash and I can not understand why. Here is the report, may be you can help me. Cheers

  • Can you modify the price of a contract in the ME32K directly from the item

    Hello, I am in ECC6.0 I need to modify the price of an item in the contract (ME32K WK or MK) but it is grey (only in display). So I must do Item-Condition and then I can modify the price of the item. Can you modify the price of a contract in the ME32

  • No longer able to create home directories

    I'm having a slight problem here. Recently after adding some new users, with PHD activated I have been having problems creating home directories on the server. If i am in local node I can create home directories, but once i switch over to LDAP/myserv

  • Cannot find the Realtek Wireless Driver for download

    Dear Users I had to do a Toshiba recovery and now can't access the net because i don't have the wireless driver. Can anyone help as i don't seem to be able to find the driver online ? Hope you can help