The CreatorCon Call for Content is officially open! Get started here.

Different tables in reference field based on variable selection

Sunil31
Tera Expert

Hello Team,

 

I have a reference field with table as TASK. I have another variable on form which gives option to select the table name for the user (incident, service request, problem).

 

Whenever user select table name, only those record should be visible in reference field variable, can we achieve this. 

 

Please let me know the approach.

Thank you

1 ACCEPTED SOLUTION

Hi @Sunil31 

Why not? there you go!

javascript: current.u_task_type ? 'active=true^assigned_toDYNAMIC90d1921e5f510100a9ad2572f2b477fe^sys_class_name=' + current.u_task_type : 'sys_class_name=-1'; 

 

Cheers,

Tai Vu

View solution in original post

12 REPLIES 12

@Tai Vu , This works like charms... cheers.. thank you... 
To add it further, can we set a filter like

Active = true and assigned to dynamic me??

If this can be done then its cherry on top.


Thank you

Hi @Sunil31 

Why not? there you go!

javascript: current.u_task_type ? 'active=true^assigned_toDYNAMIC90d1921e5f510100a9ad2572f2b477fe^sys_class_name=' + current.u_task_type : 'sys_class_name=-1'; 

 

Cheers,

Tai Vu

You were saviour.. thank you..