how to set default value for a record producer reference variable

learn nv
Tera Contributor

Hi All,

How to set default value (a specific group from cmdb_ci_group table ) for reference variable of record producer.

Shall I need to define a script include and call it using javascript: 'scriptinclude name' from the default value tab of the variable? or do we have any easy way?

 

1 ACCEPTED SOLUTION

_Gaurav
Kilo Sage

Hi @learn nv 
Just add the sys_id or backend name in the default value section.

Please mark this as helpful and accept as a solution if this resolves your query.

Thanks!

View solution in original post

2 REPLIES 2

_Gaurav
Kilo Sage

Hi @learn nv 
Just add the sys_id or backend name in the default value section.

Please mark this as helpful and accept as a solution if this resolves your query.

Thanks!

Priyanka_786
Tera Guru
Tera Guru

@learn nv : Try using this code of line.

javascript : GetIDValue('cmdb_ci_group', 'group name');

 

Hope it helps. Kindly mark helpful/accepted if it helps.

Regards,

Priyanka Salunke