Service Desk Practitioners Forum
cancel

Variable to check from which object is an object opened

Highlighted
Zoran Čulinović
Trusted Contributor.

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!