Dot walking on a record producer

Alex319
Giga Guru

Hi All, 

I have created a record producer in my PDI and I am trying to populate the CI field on an incident record by grabbing the information form the asset table. 

Is it possible to dot walk from the record producer or do I have to use a script include and catalog client script? 

what_do_you_have_an_issue_with is the name of the variable looking at the alm_asset table and returns the assets which are assigned to that user. 

find_real_file.png

find_real_file.png

Any advice would be appreciated

Thanks

Alex

1 REPLY 1

Community Alums
Not applicable

HI Alex,

Please check below example if it helps:-

var user = g_form.getReference("variables.user_name");  

dot-walk the user object to retrieve the user's contact number.

g_form.setValue("variables.contact_number", user.u_contact_number);   

 

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep