16 Processes
...
Overview of the Processes
Incident and Request
Creating Automatically a Ticket when Receiving an E-mail
5min
this functionality allows creating an automatic ticket creating an automatic ticket when an e mail message is sent to a certain address in this context, the solution constantly monitors the presence of messages in the mailbox, and if some message has the status of not read, this will be used to register a new ticket for example, a user should request a service by sending a message to service\@company com mailto\ service\@company com , after receiving the e mail, the functionality after checking the existence of a message, automatically registers the ticket it is important to highlight that after the ticket registration, the e mail is marked as read before getting started to create a ticket through the receiving of an e mail, it is necessary to configure an e mail account to allow previous access via imap; in addition, it is necessary to configure the instance to use batch routines, since the e mail verification is a scheduled task procedure step 1 creating ticket template step 1 creating ticket template access the functionality through the main menu system > automatic actions \> incident/request/procedure actions (see register automatic actions of incident/request/procedure) step 2 set up access to the e mail box step 2 set up access to the e mail box create the e mail automatic action by accessing the main menu system > settings > automatic action setting via e mail this register is used to trigger the trading and register of requests (see create automatic action via e mail) step 3 create verification routine (batch) step 3 create verification routine (batch) create a batch routine by accessing the main menu system > batch processing (see batch processing), of " java class " type with the following content br com centralit citcorpore quartz job jobconfiguracaoaberturaautomaticaviaemail 🖊 note it is possible to read the title of the e mail sent, which is stored in the field subject of the reademaildatarequest table in addition, if there is a need to retrieve other information contained in the email fields, as recipients marked as the copy (cc) or hidden copy (bcc) use the rhino script below var importnames = javaimporter(); importnames importpackage(packages br com citframework util); var print = java lang system out; var reademaildatadto = servicerequest getreademaildatadto(); if (reademaildatadto!=null){ print println("dados do e mail de origem "); print println("from "); print println(reademaildatadto getmessagefrom()); print println("to "); print println(reademaildatadto getmessageto()); print println("cc (carbon copy) "); print println(reademaildatadto getmessagecc()); }