Functions are pre written Deluge scripts that help your Custom App interact with ServiceDesk Plus On-Demand in different ways. With these snippets embedded in your application code, you can automate the creation, updation and closure of requests in ServiceDesk Plus On-Demand from right within your Custom App. You can also auto reply to requests from your Custom App. Functions give you power to create and manipulate requests in ServiceDesk Plus On-Demand from within your own environment, be it a website or your intranet portal without the need for accessing ServiceDesk Plus On-Demand.