cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
326
Views
0
Helpful
1
Replies

Last element called in OnCallEnd

dafreita@cisco.com
Cisco Employee
Cisco Employee

Hi,

I was curious if there was a way to check what the last element was called in a Custom Java Class.

I'm looking to build a hash table and associated reason codes to elements. I know I can accomplish this by creating a session variable on each element to track reason codes, but I was looking to see if there is a way to retrieve the last element called, and do a hash table lookup, so that I can write the results to a DB upon the call ending.

Thanks

1 Reply 1

ptindall
Cisco Employee
Cisco Employee

The getElementHistory method is available to both custom elements and the call end class.  Check it out in the Javadocs.