Repeat incidents

Brian Lancaster
Tera Sage

On our record producer for Incidents we have a reference field where a user can choose from their closed incidents.   It is using an advanced reference qualifier that is showing as javascript:getCallerClosedIncidents().   This was not working and was showing users all incidents in the system.   I went to script includes and could not find getCallerClosedIncidents.   I'm trying to recreate it but I'm not 100% sure how to write the script so the reference only pulls the current callers closed incidents.   Anybody have something similar?

1 ACCEPTED SOLUTION

If you want to do it base on the caller field on the form you cannot use is dynamic me as that will be the logged in user.  You will have to do it with an advanced reference qualifier.

javascript:'caller_id=' + current.variables.caller_id +'^stateIN6,7'

find_real_file.png

View solution in original post

22 REPLIES 22

ok So i tried doing the same in PROD instance and it actually worked. The only problem i see is if i change the caller name the previous incident remains the same every time and shows mine instead of the caller X.

I had forgotten about this question since I no longer work for this company.  Such a simple way to do it.  The only thing I would change since I'm have so much more experience from when I originally ask this question.  I would change it to caller is (dynamic) me and state is one of choosing resolved and closed.

find_real_file.png

Hi Brian,

I have already tried that but that's not working for me.

Please have a look at the attachment.

What are you seeing when your look at the reference field?  Are you impersonating an account that has resolved and closed incidents?