Issues With Workflow Status key in API
-
Thomas_QuayleAsked on April 28, 2022 at 09:41 PM
Hi,
We can't see the approval status on one of our forms. It is attached to a workflow, but in the API I am not getting the "workflowStatus" key in the data. Can you please help? This is pretty urgent.
Regards,
-
KrisAnswered on April 29, 2022 at 02:18 AMJotform Support
Hi Thomas_Quayle,
Thanks for reaching out to us!
I can recreate the issue from my end, as it seems that the "workflowstatus" is not showing on the API call response.
I would need to escalate this to our development team to further investigate the issue. We'll revert to you once we hear back from them.
-
umutbugrahanAnswered on April 29, 2022 at 09:59 AMJotform Support
Hello,
Sorry for the inconvenience. Due to an issue, we removed workflowStatus in API responses by default.
Please add the parameter addWorkflowStatus=1 to the submission query. For example:
https://api.jotform.com/form/{FORM_ID}/submissions?apiKey=xxx&addWorkflowStatus=1
or
https://api.jotform.com/submission/{SUBMISSION_ID}?apiKey=xxx&addWorkflowStatus=1
-
Thomas_QuayleAnswered on May 01, 2022 at 06:45 PM
Hi,
Thanks I will try it out now and let you know if there is still an issue.