The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Variable to check from which object is an object opened

Highlighted
Zoran Čulinović
Super Collector

Variable to check from which object is an object opened

I have a problem in that I am using a javascript to update the probsummary table from a new object of incident tasks I have created. When I do the update it all works fine but then when I click cancel from the new object and go back to the incident I opened it from, the incident is not refreshed with new information.

Is there a variable that I can check to know that I am viewing the task from the incident (and not from for example the ToDo list) , so that if it is true I can call a different cancel process which will open the incident refreshed?

Thank you!
//Add this to "OnDomLoad" event