Search for Ticket Number then populate fields
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.
Thanks,
Israel
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.