Majeed Ahmed
Majeed Ahmed

Reputation: 11

What is the Date format for Activiti Rest Query?

What is the appropriate date format for query in activiti-rest calls? I keep getting the error below, and i have tried, different date formats.

{"errorMessage":"The given value for query-parameter 'startedAfter' is not a valid date: 2013-04-03T23:45Z","statusCode":400}

Below are the date formats i have tried:

startedAfter=2013-04-03T23:45Z
startedAfter=2009-01-08
startedAfter=2009-01-08T00:00:00+01:00

Upvotes: 0

Views: 1041

Answers (2)

megha
megha

Reputation: 19

Example for the date format to be used is as below - 2020-09-02T16:42:11+05:30 for activiti 6

Upvotes: 0

Majeed Ahmed
Majeed Ahmed

Reputation: 11

I got the solution. On Activiti Forum: http://forums.activiti.org/content/rest-api-task-query-due-date-dueafter-duebefore-error
Accepted date format is "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'" Thanks.

Upvotes: 1

Related Questions