Hi,
I have a very strange situation with the ExecutePMQL method of IProcessService. It returns the error:
Error in deserializing body of reply message for operation 'ExecutePMQLStr'
However running the same PMQL from ps-adm./query returns the results just fine (I am an using the exact same query because when an exception its gets logged and then I feed the query to the ps-adm.query servlet).
This a simplified version of the query
<PMQL>
<Select>
<Properties>
<WorkItem.CreationTime/>
<WorkItem.CurrentStep/>
<WorkItem.Id/>
<WorkItem.LocalTitle/>
<WorkItem.Status/>
<WorkItem.OpenedTime/>
</Properties>
<From>
<InstanceObject Alias="ObjectZaak"/>
<Fields Alias="ZaakInfo"/>
<ProcessInstance/>
<User/>
<WorkItem/>
</From>
<Where>
<And>
<WorkItem.Status Condition="In">1;4</WorkItem.Status>
<ObjectZaak.Name Condition="=">Zaak</ObjectZaak.Name>
<ObjectZaak.ProcessInstance Condition="=">
<WorkItem.ProcessInstance/>
</ObjectZaak.ProcessInstance>
<ObjectZaak.ObjectId Condition="="><ZaakInfo.ObjectId/></ObjectZaak.ObjectId>
<ProcessInstance.Id Condition="="><WorkItem.ProcessInstance/></ProcessInstance.Id>
<User.Id Condition="="><WorkItem.UserId/></User.Id>
<ZaakInfo.Zaaknummer Condition="=">1000498100</ZaakInfo.Zaaknummer>
<WorkItem.CurrentStep Condition="Like">user_*</WorkItem.CurrentStep>
</And>
</Where>
</Select>
</PMQL>
If I remove <WorkItem.OpenedTime/> or add Count="2" to the <Select> tag I do not get an error when calling the method ExcecutePMQLStr. It looks like adding properties corrupts the deserialization process somehow.
What is annoying is that I cannot rely on the ps-adm/query servlet anymore since it does not produce an error which makes me believe another webservices method is called by this servlet.
Also the server.log does not contain any trace of this error.
Any Idea on what the problem could be? I really need the PMQL to work otherwhise I will have tr retrieve workitems, dataobjects an process instances one by one and that will severely hurt performance.
Best regards,
Marc
Version info:
EPS 10.2.1
ps-server.jar (10.2.1.826)
ps-server-common.jar (10.2.1.826)
ps-server-engine-aux.jar (10.2.1.826)
ps-server-engine-core.jar (10.2.1.826)
ps-server-intf.jar (10.2.1.826)
ps-server-repositories.jar (10.2.1.826)
ps-server-types.jar (10.2.1.826)