Hi Zoho Team,
I would like to verify if this code is possible or what could have gone wrong.
What I'm trying to achieve here is to create a report that the user only inputs a ticket number then if record from desk was found, records will then be populated to the given fields.
Here's the attachments - code from WorkFlow.
Apart from the above mentioned,
list DisplayDeskTickets()
{
tickets = invokeurl
[
type :GET
headers:{"orgID":680708905}
connection:"deskconnect"
];
info tickets;
outputList = list();
for each Ticket in tickets.get("data")
{
if(true)
{
outputList.add(Ticket.get("subject"));
outputList.add(Ticket.get("email"));
outputList.add(Ticket.get("contact"));
}
}
return outputList;
}
the code here is for testing -fetching a record for a specific ticket ID Number
Looking forward from your responses.