GithubHelp home page GithubHelp logo

Comments (9)

jwswj avatar jwswj commented on June 15, 2024 1

@maxkwallace The delay does, and can be anywhere between 1-10mins due to the way our search indexing currently works. We have a project to rebuild our indexer pipeline, however it's a big project so it won't drop for a while. What's your use case, maybe there is a workaround...

from zendesk_api_client_rb.

jwswj avatar jwswj commented on June 15, 2024 1

I've raised the issue with the search team so hopefully it can be mentioned on that page @maxkwallace.

from zendesk_api_client_rb.

keithpitt avatar keithpitt commented on June 15, 2024

I've also tweeted about this issue: https://twitter.com/zendeskdevteam/status/311986195473260544

from zendesk_api_client_rb.

jwswj avatar jwswj commented on June 15, 2024

This is due to our search index having a bit of a delay. The delay varies, but after 10mins it's normally caught up.

Do you need to use search? The zendesk_ticket object will have the ticket ID after save. Then using the ticket ID will always result in the most up-to-date details. Eg.

found_ticket = ::ZendeskAPI::Ticket.find(ZENDESK_CLIENT, :id => zendesk_ticket.id)

from zendesk_api_client_rb.

keithpitt avatar keithpitt commented on June 15, 2024

This is a simplified example, but the two operations are usually separated by different background jobs in our system.

I'm storing a cache at the moment of our internal id's and the zendesk ticket id's. Looking to the cache before trying to do the search. This should work for the most part - but I was just curious because I would have thought that searching by external-id's would have been fast.

from zendesk_api_client_rb.

jwswj avatar jwswj commented on June 15, 2024

@devarispbrown @steved555 Any plans for something like found_ticket = ZendeskAPI::Ticket.find(ZENDESK_CLIENT, :external_id => external_id)

from zendesk_api_client_rb.

devarispbrown avatar devarispbrown commented on June 15, 2024

Not at the moment, but I can add it to the dev backlog.

On Tue, Mar 19, 2013 at 8:17 PM, Jason Smale [email protected]:

@devarispbrown https://github.com/devarispbrown @steved555https://github.com/steved555Any plans for something like found_ticket
= ZendeskAPI::Ticket.find(ZENDESK_CLIENT, :external_id => external_id)


Reply to this email directly or view it on GitHubhttps://github.com//issues/80#issuecomment-15156377
.

from zendesk_api_client_rb.

maxkwallace avatar maxkwallace commented on June 15, 2024

@jwswj does the 10 minute delay apply to searching Users?

from zendesk_api_client_rb.

maxkwallace avatar maxkwallace commented on June 15, 2024

@jwswj thanks for the reply! I can work around this using the existing API, but this delay should definitely definitely definitely be reflected in the docs (e.g. https://developer.zendesk.com/rest_api/docs/core/search). It's very frustrating to try to design around limitations like this when they're buried in GitHub issues.

from zendesk_api_client_rb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.