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

Anubhav Srivas1
Tera Expert

Hello,

Did anyone got an answer to this?

Vigneshwar Red1
Kilo Guru

You can use the reefence qual condition to accomplish this with the condition as below

 

find_real_file.png

Hi Vigneshwar,

I tried doing that but it didn't work.

I Tried in my personal dev and it worked for me. Could you please give me the screen shot on what exactly you are trying to do in the ui policy,

 

Thanks

I have made a variable for a catalog item called previous incident , see screenshot 1 & 2. Now in screenshot 3 you can see a variable called previous incident. this is what i'm trying to get.