on 11-04-2014 1:55 PM
Hi all,
I'm trying to claim an existing task in status "Ready" using the "Simple Rest Client" embedded in Chrome browser.
I've fetched the correct Task instance id and double checked on NWA.
<d:InstanceID>bpm%3A%2F%2Fbpm.sap.com%2Ftask-instance%2Fe698e6f8641511e4bded00000034b6ba</d:InstanceID>
<d:Status>READY</d:Status>
Also, I've got a valid x-csrf-token from a get request and re-used it in my claim request.
My request is the following:
method: POST
URL: http://<host>:<port>/bpmodata/tasks.svc/Claim?InstanceID=e698e6f8641511e4bded00000034b6ba
headers: X-CSRF-Token: cdcbd679-a2d9-463b-892c-cc355cbe0ed8
body is empty
I've double and triple checked the task instance ID but I get HTTP 400 bad request.
In the logs I can see a weird error:
org.odata4j.producer.exceptions.BadRequestException: Invalid value has been specified for 'InstanceID' function parameter.
at com.sap.odata4j.BPMEntitiesRequestResourceImpl.createFunctionParameter(BPMEntitiesRequestResourceImpl.java:340)
at com.sap.odata4j.BPMEntitiesRequestResourceImpl.getFunctionImportParameters(BPMEntitiesRequestResourceImpl.java:291
Caused by: org.odata4j.producer.exceptions.NotImplementedException
at org.odata4j.core.OFunctionParameters.parse(OFunctionParameters.java:49)
at com.sap.odata4j.BPMEntitiesRequestResourceImpl.createFunctionParameter(BPMEntitiesRequestResourceImpl.java:338
In particular, I'm worried about the "not implemented exception"
Can anyone please assist?
Thanks, regards
Vincenzo
task id must be between quotes like
/bpmodata/tasks.svc/Claim?InstanceID='e698e6f8641511e4bded00000034b6ba'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.