US : +1 888 720 9500 | Intl : +1 925 924 9500
US Intl : +1 800 443 6694 (alternative number)
Australia : +1 800 631 268 | UK : 0800 028 6590

Custom App Functions - Edit Request

You can now edit any record in your Custom App and ensure that the corresponding request ( to this record) in ServiceDesk Plus On-Demand is automatically updated.

The generic syntax for this function is

<Response> = zoho.sdpod.update("Request", Request ID, <Field Values to be updated >);

Where,
<Response> is the variable returned by SDPOn Demand as response.

<Request ID> The request ID of the corresponding request in ServiceDesk Plus On-Demand.
<Field values> The fields values changed in the Custom App that need to be updated in the ServiceDesk Plus On-Demand request.

Let’s say you make some changes to the booking in your Conference Room App. We have more attendees, included new Agenda and the Room needs to be changed from Nile to Thames.

record

To update the ServiceDesk Plus On-Demand request once you have edited a record in your custom App, you would need to do the following:

  • Go to Admin--> Custom Apps

  • Open the Conference Room Custom App in the Edit mode

  • Select Settings Icon-> On Add->Actions On Success in the form builder

  • Add the following script,

requestData={
"REQUESTER" : input.Host,
"SUBJECT" : "Conference Room Booking",
"DESCRIPTION" : "\" Number of Attendees :" + input.Number_of_attendees + "Start Date :" + input.Start_Time +
                   " End Date :" + input.End_Time + "\"",
"UDF_CHAR1" : input.Room_Name
};

resp = zoho.sdpod.update("Request",input.SD_Request_Id,requestData);

After editing your reservation, and saving it by clicking on the ‘Update’ button, the code snippet above is executed and the corresponding Request in ServiceDesk Plus On-Demand is updated with the new information.

 

Top
ServiceDeskPlus On-Demand - SaaS based ITIL Ready help desk and Asset Management application