Building a server-side app - Part 1: Core concepts

Have more questions? Submit a request

4 Comments

  • Benjamin
    Comment actions Permalink

    When developing and testing, what app_guid should I use? Currently ZAFClient initialization fails because of lack of app_guid.

    Footnote: My code was working 3 days ago without an app_guid, but not anymore. :-|

    0
  • Charles Nadeau
    Comment actions Permalink

    Hi Benjamin,

    You retrieve the app_guid parameter from the initial page request by Support when your app starts. For details on getting the parameter, see:

    https://develop.zendesk.com/hc/en-us/articles/360001075008#params

    Thanks.

    0
  • Javilondo Molina
    Comment actions Permalink

    Hi team,

    I'd like to create a server-side app that fetches data from my database and expose it on the agent interface. However, I don't know if what I'm trying to do next is possible. I'd like to create a trigger that acts upon this data.

    For example, I'm getting a list of Ids from my database and this will be available on the agent view with my server side app. However, I'd like to create a trigger to close a ticket when the ID of one of these users appears as a string in the subject of the ticket? I've had a look at the trigger conditions and I don't know if this is possible.

    Thanks

    0
  • Bryan - Community Manager
    Comment actions Permalink

    Hi Javilondo Molina. Check out this article: Using custom ticket fields in business rules and views.

    Depending on your use case, it may be possible, but double-check that what you want is possible given the custom field type.

    This might also be a useful article down the road if using Targets with triggers: How do I pass custom ticket values to a trigger?

    0

Please sign in to leave a comment.

Powered by Zendesk