How to display HR cases of particular Subject person's only on the Reference field ?

Ramu6
Tera Contributor

Hi All,

Basically, we have two fields 'Subject Person', Employee Records, So here 2nd field refers to the Case table, so here(in 2nd field) i want to display the records of other Record producer(HR cases) related this particular subject person ?

 

Please help me to achieve this

Thanks

Ramu

1 ACCEPTED SOLUTION

Well, that seems to be deviation from original ask. You can close this thread and open a new one for further conditional check.

Also, you can try

javascript: 'subject_person='+current.subject_personvariable+'^hr_service=1233';

where hr_service is a field with 1233 as sys_id you can add your condition accordingly

Also, as it seems : is getting replaced with : 

View solution in original post

13 REPLIES 13

Well, that seems to be deviation from original ask. You can close this thread and open a new one for further conditional check.

Also, you can try

javascript: 'subject_person='+current.subject_personvariable+'^hr_service=1233';

where hr_service is a field with 1233 as sys_id you can add your condition accordingly

Also, as it seems : is getting replaced with : 

@Jaspal Singh 

Actually i have posted  my question with these two conditions

Ramu6_0-1698772206376.png

 

Yes, so the condition added will show all records for the subject person irrespective of other Record producer. Are you sure you checking for valid user who has submitted tickets for other Record Producers?

@Jaspal Singh 

Yes, basically these two Record producers(HR services) are dependent , so thats why i want add that condition as well to this 

And i have tried like this but it won't work and it display all the records

javascript:'subject_person=' + current.variables.employee_name+'^hr_service=fe55d722874ebd90b4472025dabb3549';

Ramu6
Tera Contributor

@Jaspal Singh 

Can you please look into this as i tried with HR service but it won't work

 

Thanks

Ramu