Open ehawman-rosenberg opened 1 year ago
The issue stems from the relatively recently exposed workflowStatus field not being in the current Python API Client. I had to edit their class so a project would work. Another thing I discovered is the status value filters need to be in uppercase.
See this answer at JotForm: Issues With Workflow Status key in API. Scroll down to Umut's response at April 29, 2022 at 09:59 AM.
jotformAPIClient.get_form_submissions()
isn't usingfilterArray
in a way in keeping with the docs. (also said docs incorrectly referencefilter
andorderby
, instead offilterArray
andorder_by
)Result: The 100 most recent submissions.
Result: None.
Result: The oldest 25 results in the "Approved"
workflowStatus
. (Note the difference inworkflowStatus
name. Is there some hidden naming going on behind the scenes?)Result: The 100 most recent submissions
in the "In Progress"EDIT: jokes, I just realized it's just the most recent submissions. sighworkflowStatus
. (The desired outcome)Please reference this support ticket. The form I am working with is 220114796842154. https://www.jotform.com/answers/4751245-jotform-api-applying-filter-does-not-return-all-submissions/