Where is the 'Incident Created' message on ESS portal generated from

ruthbrown
Mega Contributor

When our users log an Incident on ESS they complete the form and click Submit (see attachments).   They are returned to a view of the form with a message at the top that says.'Your Incident INC0151505 was created on Wed, 22 Jun 2016 07:39:57'.

The timestamp on the message is displaying GMT time instead of BST and I suspect it is to do with the date function used in the message and want to investigate.   However, I don't know where to find what generates the message.   I have looked for UI Actions on Incident table and Task table with 'Submit' in the name but no luck so far.   I am relatively new to ServiceNow so may be missing something obvious.

Any help or tips welcome

Thanks

1 ACCEPTED SOLUTION

Hi all


I have just found that the message that appears after the user has logged an incident (Your Incident INC0151509 was created on Wed, 22 Jun 2016 14:24:34) is a field on the Incident table, not a 'message' as I thought.   The field is displayed in a section that only becomes visible after the incident is logged.   The calculation is forcing the date to UTC timezone but it should force it to Europe/London so that it auto adjusts for Daylight Saving when appropriate.   Hopefully I can find how to do that.



Thanks for all your input


find_real_file.png


View solution in original post

17 REPLIES 17

Thanks, found one occurrence but it was not the right one.   I am glad it is not just me that thinks this message is hidden in an obscure place.


As AKb has shared the screenshot. You need to open your Record Producer from there and once you are on your Record Producer then you may find gs.getinfo in your script.



Share the screenshot where you are finding the same.



Regards,


Shamma


ruthbrown
Mega Contributor

find_real_file.png


MyIT Services Part 1


find_real_file.png


MyIT Services Part 2


find_real_file.png


Submit Ticket Part 1


find_real_file.png


Submit Ticket Part 2


find_real_file.png


When a user logs an incident on ESS it looks like it is using the Record Producer Submit Ticket.   However, the only thing I can see that relates to a message is in MyIT Services:


gs.include("FormInfoHeader");


var fi = new FormInfoHeader();


var s = 'An incident ' + current.number + ' has been opened for your request, the details are below.';


//s += 'The IT department will contact you when the password is reset or for further information.';


s += ' You can track status from the <a href="/ess/incident_status.do" class="breadcrumb" >Issue Status Page</a> ';


fi.addMessage(s);



But this is not the message that appears at the top of the form after it has been submittted.   That message is 'Your Incident INC0151509 was created on Wed, 22 Jun 2016 14:24:34'


For info Script Include FormInfoHeader is:


find_real_file.png



Thanks for everyone's help.


zica
Giga Guru

on the global search, search for "was created on",



All scripts that will have the syntax will come up,



find_real_file.png


ruthbrown
Mega Contributor

Thank you.   We are on Eureka, and I have also tried it on a cloned version that has Geneva.   Will the global search still be as effective on these versions.   I am not seeing anything obvious but will keep looking.