Hi - I’m just starting to build my first app using for freshservice & would appreciate some advice/tips.
The goal is to have a multi select on a FS Ticket populated with data provided by a json feed from an outside server.
I’ve dug around the documentation and found the Serverless App, and the event hooks, but not one for when a Ticket is initialized - I saw onTicketCreate, but the select needs to have data before the ticket is created (so the user can select a value).
If there is some kind of ‘beforeTicketCreate’ event I can hook into that event in the serverless app and do a fetch for the json, and could then populate entity storage using the json, and then (presumably) manipulate the Ticket field to use the data from the entity storage…? Am I on the right track?
Questions:
- Is this possible, and a reasonable use of the platform, or is there a better/simpler approach? (Custom Objects maybe?)
- Is there documentation on how to manipulate the Ticket object to populate the drop down values?
- What is the best way to test this functionality?
Thanks for any guidance!