
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2015 12:12 PM
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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2019 11:00 PM
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'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2019 09:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2019 09:32 PM
What account are you logged in as? Have your verified that, that account has incidents in a resolved or closed state? This works in my PDI.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2019 09:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2019 09:50 PM
Yes I understand that but does the account your logged in as have any resolved or closed incidents where they are the caller?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2019 10:13 PM
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.