Legacy Dev Forum Posts

 View Only

Sign Up

WFM historical adherence report : 'query_state': 'Processing'

  • 1.  WFM historical adherence report : 'query_state': 'Processing'

    Posted 06-05-2025 18:08

    hnin | 2022-05-17 08:14:42 UTC | #1

    Hello,

    I am invoking this api through Python SDK postworkforcemanagementadherence_historical

    The request body data is body = { 'startDate' : "2022-05-10T00:00:00.000Z", 'endDate' : "2022-05-11T00:00:00.000Z", 'timeZone': "Australia/Sydney", 'userIds': ["xxxxx"] } The response from API call is body {'startDate': '2022-05-10T00:00:00.000Z', 'endDate': '2022-05-11T00:00:00.000Z', 'timeZone': 'Australia/Sydney', 'userIds': ['xxxx]} adherencedata {'downloadresult': None, 'downloadurl': None, 'downloadurls': [], 'id': '9e2d595e-49ca-436f-8ea3-c773fb4b73bf', 'query_state': 'Processing'}

    I am not sure how to proceed from here and how to receive the data. I am seeking for advice to know if I am missing something and what "Processing' means in the result. Thank you.

    Regards, Hnin


    brian.trezise | 2022-05-17 13:12:58 UTC | #2

    The response for a historical adherence query will always come via notification. There is a (java) tutorial here to help with the process. We don't currently have a tutorial for other languages but the steps should be roughly the same.

    Retrieving Notifications from a Historical Adherence Query


    sdarla | 2022-06-08 19:08:56 UTC | #3

    Hello @hnin I am in the similar situation trying to get data from notifications. Do you have a solution to this?


    brian.trezise | 2022-06-09 13:10:39 UTC | #4

    Please see the link I posted above. It is a tutorial with an example implementation to demonstrate the process.

    Thanks for reaching out!


    system | 2022-07-10 13:11:31 UTC | #5

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 14770