Recent searches


No recent searches

Understanding custom objects



image avatar

Jacquelyn Brewer

Zendesk Documentation Team

Edited Aug 28, 2024


-1

30

30 comments

image avatar

Shishir Sharma

Zendesk Product Manager

Triggers on custom objects EAP is now live and allows the ability to build trigger conditions based on custom object field values. Additionally, you can create trigger actions to set or update the value of fields on the same custom object.

0


Can this be used to update closed tickets as well? 

0


image avatar

Jacquelyn Brewer

Zendesk Documentation Team

Idil Balkay At this time Support ticket triggers can't update closed or archived tickets. Object triggers are wholly separate from ticket triggers. They fire when a record is created or updated for that object rather than a ticket. Further more, object triggers only have the ability to update values for the object's fields. You can find more information in Creating and using object triggers (EAP).

0


image avatar

Thomas D'Hoe

Community Moderator

Hi, are there any plans to also have custom objects as fields in the views? It would make sense to sort your view on a custom object field in your view (for example: location).

 

Fyi Anton Verhelst

1


image avatar

Mike DR

Zendesk Customer Care

Hi Thomas!
 
Hope you're doing well! You can use a lookup field to store the custom objects in, the lookup field can be then used for as a column in the view.

0


Hi,

I hope you can help with what i want to achieve.  We operate a B2B model whereby our customers (organisations) have their own set of customers that they resell our product to.  What i want to be able to do is create a custom object of "Deployments" and associate it to organisations.  This i have been able to achieve with custom objects no problem.

What i want to be able to do, is then create a ticket field that allows the users to select from a list of their "Deployments" when submitting a ticket.

I assumed i needed to create a ticket lookup relationship field on my "Deployments" object, which i can do but there are two issues:

  1. There is no filter to be able to say "only show records for the organisation of the ticket" - it shows me a list of all records, no matter who the organisation associated to the ticket is
  2. Lookup relationship fields are not viewable from guide for an end user submitting a ticket - this is a huge missed opportunity to add contextual data to a customer submitting a ticket

Is there any way I can achieve the workflow I am describing with custom objects?

0


image avatar

Ashwin Raju

Zendesk Product Manager

hi Adam - Dynamic filters will solve for your use case from an Agent perspective... We are in the process of fixing some minor bugs and should be ideally releasing the feature next week. Please reach out to me at ashwin.raju@zendesk.com if there is an urgency and you would like to enable it before that
We are also in the works to enable lookup fields (pointing to custom objects) in Guide help center forms 

0


Hi Ashwin Raju thanks for coming back to me.  Very interested in dynamic filters, do you have more information on it?  Happy to wait until its ready if it will be launched soon.

Regarding the ability to enable lookup fields on the guide help center forms, this will be huge for us - do you have any rough eta when this functionality will be available?

0


image avatar

Ashwin Raju

Zendesk Product Manager

Dynamic Filtering addresses this challenge by allowing Admins to contextualize their ticketing experience, surfacing only the relevant business data associated with the Requester or the Organization. With Dynamic filters, Admins can easily create filters on Lookup fields so that Agents see only the Orders/Assets associated with the Requester or see only the Contracts/Entities associated with the Requester Organization. 

0


image avatar

Ashwin Raju

Zendesk Product Manager

As for Guide help center - we are targeting the first half of Q3 for the release.. But like any feature development, it comes with certain unknowns. 

1


Thanks Ashwin Raju - I will check back regarding that, as that is the most important functionality for us - I hope the use-case makes sense, we really need our users to be able to select from their list of contracts when submitting tickets, right now its very laborious needing them to manually input a contract ID.  Looking forward to it!

 

0


image avatar

Ashwin Raju

Zendesk Product Manager

hi Adam..  Curious to know your thoughts on two things:
1) End user selects the contract they want to input from a list that is filtered based on the ticket organization. How important is it for the end user to see the details of the contract
2) Currently, we have permissions at an Object level, which means that if a role has access to viewing an object, they have access to viewing all the records of the object.. Let's imagine End user as a role that you can enable access to the contract object. And you have filters in the admin center to ensure that John Doe of Walmart sees only contracts associated with Walmart. However, a tech savvy end user may be able to access contracts that belong to other organizations using API.. However, the probability is fairly low. How sensitive would be your contract information? Although this is true for legacy custom objects as well, I wanted to ensure that we communicate the difference between permissions and filtering to customers. How important is it for you to know this difference when you are enabling end user permission? 

0


Hi Ashwin,
1. There is not necessarily for us a requirement to see the details of the contract, just that they can see the reference associated to that contract, or the ID, it does not necessarily matter.
2. This would be of concern to us - if we were to use a reference for the contract (essentially the end customer name) - we would not want other customers being able to access this data of what other customers are doing if that makes sense. We could make this non-friendly by using a unique reference number which would not mean anything to another user, but it is far from ideal and would prefer not to do this.

Regarding the dynamic filtering - I have seen we have it live on our account and have tested it and it works exactly as required (I can now select from my list of contracts for the users organisation) - all we need now is the ability to include that field on the guide help center forms and we will have everything we need!

0


Hi Ashwin Raju - I was just wondering if there was any update on enabling custom objects visibilty - is this still planned for Q3?  The new dynamic filtering is working really well, we just need to be able to present this to end users now rather than limiting to agents!

 

Thanks,

 

Adam

0


image avatar

Ashwin Raju

Zendesk Product Manager

hi Adam.. We are still tracking this for a Q3 release. 
As I mentioned above, we will be offering filtering capabilities on Lookup relationships. And we will also offer filtering capabilities on the Search API to build custom solutions if you'd want to.. But, the permissions will be at an Object level. 

0


Ashwin Raju  Hey Ashwin,

Glad to see how far Custom Objects have come this year. I already suspected the potential when you first launched them in Beta.


I do have a few questions for out advanced use case though:
 

Is it in any way possible to see a full list of custom object records and filter by status or other attributes? 

Use case: 
We are thinking of having “Licenses” as custom objects. 
So once a “License” is created it would be in the status of “open to provide”.

Now there is no way for an agent to filter all license records that are “open to provide” so he can start working on them: i.e. creating Tickets from them to assign etc.

Having explore capabilities for custom objects would also fix this I believe - as we would then be able to get a list of all custom object records with specific filters applied and the agents could work from there.

 

Explore as far as I understand only provides an option to report on lookup relationship fields on Tickets which reference custom objects - but for my use case the Tickets would not have been created yet. 

0


image avatar

Ashwin Raju

Zendesk Product Manager

Hi Shayan.. Long time. I am so glad you find the custom objects feature super useful.
We have 2 capabilities coming up this quarter (in June) that might of interest to you
1) Search API that supports filtering capabilities. 
2) Object triggers with some enhanced actions. (Object trigger = trigger which gets evaluated when a custom object record changes) 
We are also looking at native sorting and filtering on List view for custom object records mostly in the second half of this year.. Would love to connect and discuss about your use case better. CC: Salvador Vazquez 
We are also in early stages of reporting on custom objects directly.. CC: Wojciech Smajda .. What kind of reports are you looking to build on your Licenses?

0


1) Yea I think the search API could help us build an out of Zendesk workaround. 

 

2) I have read about Object Triggers, though I still struggle to find actual use cases for them. As far as I understand they only allow changing values of the custom object itself, and are triggered by a value change from the custom object. Meaning at best, it saves the agent a click or two, as he doesn’t have to change 2 values instead of 1. I do so the potential for them if they had more advanced action statements though: Things like creating a Ticket when a custom object value changes would be valueable for us for example. 

 

3) About my use case for filtering/sorting: 

Basically the licenses we sell are connected to work that our Agents have to do. Each license belongs to a country. Some agents are specialized in specific countries. And there is a hand off after the user buys a license: 
 

Flow is as follows: 

1) User asks for contract / to buy licenses for a country within a Ticket

2) Agent assists the user and help them make their contract. For example user might want to buy a license for 3 countries. 

3) Then Agent would create 3 license objects with those countries and associate them with the customer.

 

4) These license objects have an active „to-do“ they have to be setup by a specialized agent from our Team

 

5) So as these are work items, right now the first Agent would in addition to creating 3 license objects also have to create 3 Tickets, one for each license and assign them to the right team.

 

6) Instead I would like the respective specialized agents to filter the license objects by status - so they are able to create their own Tickets themselves once they start working on the licenses. 

 

 

For the reporting capabilities- I believe our use case would be pretty standard:

Just being able to see counts/averages of custom objects, similar to Tickets, and to use them in reports.

 

Also being able to drill down into reports and jump from custom object records straight into Zendesk by clicking on an associated user/ticket/org/object. 

1


image avatar

Ashwin Raju

Zendesk Product Manager

1) June is going to have a lot of capabilities launched. One of them is the Filtering APIs for custom objects
2) As we go GA on Object triggers, you will see powerful actions on object triggers showing up. This includes notifications and webhooks. We feel that is going to open up a lot more powerful workflows with custom objects, especially around case management and proactive notifications.. 

3) Webhooks can create the proactive tickets that you are looking to create and automatically assign them to the right team based on the license details.

I think we can avoid the step of the agent creating a ticket and filtering the license object with object triggers. But you'd know your business better. Would love to connect and see how we can make it happen. 

 

Drill down reporting on tickets is also in our roadmp for the second half of 2024 CC: Wojciech Smajda 

0


Ashwin Raju Heya! I was hoping to get your thoughts on using custom objects to emulate some of ServiceNow functionality.

 

For example in service now, you have devices tied to users, and those can be referenced and marked within the ticket.

What I'm trying to achieve:
- Load all of my devices for my users as custom objects (similar to demo video)
- When a user opens a ticket - have their device (or multiple devices) visible within the agent workspace.

My ideal situation would be adding custom object context to the agent workspace. Imagine a list similar to the customer context, where a list of select fields from the custom object is displayed here.


Was hoping you might have ideas or suggestions on how to display as much stateful custom object information on the agent layout as possible. 

 

Specifically - would look to have specific important fields directly on the layout without having to navigate away:
- Remote access connection link

- device name

- device serial

- device model

 

 

Any help you can give is much appreciated, and thank you for your work in developing this product.

0


Hi Ashwin Raju 

is it still on track for q3 for the custom objects available in Guide / ticket forms ?

That would be awesome !

0


Hi Ashwin Raju ,

the availability of the custom objects in the ticket forms for our end-users to select from would be a great help for our organization as well.
Would appreciate a lot if you could share the latest status of the development around it :)

Thanks and best,
Daniil

2


Hello,

I have linked a custom object to agent user fields view using relationships. It displays perfectly fine on the zendesk but when pulled via the api from user fields. I get the following data

 

"user_fields": {
            "erp_company": "01J2VF9KVHK2SH1H76847E1D36"
            }

It should say ‘COMPANYXYZ’ in plain text rather than `01J2VF9KVHK2SH1H76847E1D36` what even is this? Is it encrypted? Have I linked them incorrectly?

0


Not ideal that custom objects aren't copied over in a Premium Sandbox… we use Custom Roles, which means none of our agents were copied over into our sandbox except for Admins, Contributors, and Light Agents.

 

Is there any workaround or plan to add custom objects in the future?

0


Is there a method to show the details of custom objects linked on a user's profile on the ticket view? Showing it on the user card just gives the name of the record, but I'm not seeing a way to show specific fields from that record as well. 

0


Hello, I've been testing out lookup relationship fields in Guide now that this functionality has been released. However, it looks like dynamic filtering on custom objects (by organization) does not work on the initial ticket request form.

We have a custom object labeled Projects, with each record tied to an organization. For example-

  • Project 123 with an organization of A
  • Project 456 with an organization of B

The lookup relationship field (Workstream) has a filter that should only show records matching the organization-

This works as expected on the agent side- on tickets for organization A, the dropdown only shows 123. However, when organization A tries to create a ticket via the ticket request form in Guide, this field shows no options at all. Is this because the ticket is not “created” yet and technically has no organization? Is this expected behavior? If so this is a major drawback and really limits this functionality.

Tagging Ashwin Raju as well - thank you!

1


image avatar

Ashwin Raju

Zendesk Product Manager

hi Nicholas H -  That is a bug in the older versions.. We just found that today morning.. We are fixing as soon as we can.. 

2


image avatar

Ashwin Raju

Zendesk Product Manager

hi Nicholas H - its fixed now. 

1


image avatar

Gabriel Manlapig

Zendesk Customer Care

Community posts have already been addressed and answered, so no further action is required for this community ticket.

0


Hello,

Is it possible to retrieve a specific field value from a custom object record as a placeholder? If so, what would be the syntax?

In my example I setup a trigger “assign postal address” once the service partner is selected from the drop-down list and apply the record of the custom object in an additional lookup relationship ticket field. The only information which I can display using this placeholder {{ticket.ticket_field_option_title_ID}} is the name of the record but not any other fields specified in this custom object like “suburb”.

Is that even possible or is there another way to manage location address based on selected ticket field values?
Thx

0


Please sign in to leave a comment.