Calling a Record Producer Variable in Advanced Reference Qualifier'sScript Include Function

brogaming70
Kilo Contributor

I have a variable (field_1) in a Record Producer, which is a reference field. In this Record Producer, I have a variable Set and in that I have a variable field_2, which is a drop-down. I want to put Advanced Reference Qualifier, and when calling the script include I want to pass the sys_id of the value in field_1 as a parameter of the function of my script include. I tried these approaches so far:
1. javascript: new ScriptIncludeName().function_name('current.variables.field_1');

2. javascript: new ScriptIncludeName().function_name('producer.field_1');

My Script Include is working fine, the only blocker is I am not able to pass field value in the function parameter, which is further used in the script.

Any help would be really appreciated.

0 REPLIES 0