AnsweredAssumed Answered

REST Services sorts ID as String

Question asked by bobfleischman on Sep 9, 2013
Latest reply on Sep 13, 2013 by trademak
I have been trying to use the REST service with the following URL

history/historic-process-instances?size=200&order=desc&includeProcessVariables=true

and since our installation is new the ids are lower numbers and have just crossed into 4 digits. The IDs sort as a string not an integer and therefore 99 comes before 100 when we sort descending, and 100 before 99 when we sort ascending.

Any clues how we can work around this? We are trying to keep a list of completed processes for our appliacation. The same problem occurs when we try to get historic task information using the REST service.

Thanks

Bob

Outcomes