I just wanna know how to get the username of the executor of actions like “Picking, Packing” using graphql query?
Hey @ahmadMamdouh,
Thanks for reaching out.
I don’t believe we have a way to get the exact username but we can return the User ID, User First Name, and User Last Name for the picks_per_day and packs_per_day queries, like so:
{
  picks_per_day(warehouse_id: "string", date_from: "_____", date_to: "_____") {
    request_id
    complexity
    data(first: 50) {
      edges {
        node {
          id
          user_id
          user_first_name
          user_last_name
        }
      }
    }
  }
}
{
  packs_per_day(warehouse_id: "string", date_from: "_____", date_to: "_____") {
    request_id
    complexity
    data(first: 50) {
      edges {
        node {
          id
          user_id
          user_first_name
          user_last_name
        }
      }
    }
  }
}
Let me know if you have any questions or concerns!
Best,
RayanP