how to get the value from sysid in business rules

Chandra31
Tera Contributor

Hi Team,

how to get the value from sysid in business rules.

Thanks,

Chandra

14 REPLIES 14

hi Chandra,



if I understand you correctly - you need to get these values on Form (therefore on client side) and to change other field values also on form.



If so - then you need to use onChange client script


Hi Chandra,


Assuming that:


Field1 is a reference field to   sys_user_group.


ID is the field that shows the source table:



Maybe a before insert BR will help you:


current.u_field1 = current.id.assignment_group;



If you provide a bit more details on what you are trying to do, and when, we can help more.


Harel


Chandra31
Tera Contributor

Hi Team,



How can We get the group manager name in BR.Could you please help me on


this.



Thanks,


Chandra


Assuming that:


Field1 is a reference field to   sys_user_group.


ID is the field that shows the source table:



current.u_field1 = current.id.assignment_group.manager.getDisplayValue();


 

Try:

var parentRecord = g_form.getReference('parent').name;

gs.log('Parent value '+parentRecord);

Will give the value of parent name