Record Producer dot walking does not work.

Vaishnavi35
Tera Guru

Hi,

 

I have created Program variable and added choices to it.

I have added Program field dot walking from Demand form onto the Idea form. Whatever value I choose on the variable should go to the idea form field.

 

current.idea.demand.primary_program = producer.u_program 
 
Vaishnavi35_0-1717431876987.png

 

 

I am writing this in the record producer itself. For "cost center" its working fine. For "program" its not working fine.
 
Thanks,
Vaishnavi
6 REPLIES 6

Hi @Vaishnavi35 

 

This is not a Business Rule this is record producer script.

 

 

If you find my response helpful, please consider marking it as the 'Accepted Solution' and giving it a 'Helpful' rating. Your feedback not only supports the community but also encourages me to continue providing valuable assistance.

 

Thanks,

Amitoj Wadhera

 

 

SanjivMeher
Kilo Patron
Kilo Patron

You can't assign a value using dot walk.

current.idea.demand.primary_program = producer.u_program 

 

If primary_program is a field on your current table, you can do current.primary_program = producer.u_program;

But you can't dot walk to a field which is in demand table and store the value of program there.

 

If primary_program is a field in demand table, you need to query the demand table and and set the value.


Please mark this response as correct or helpful if it assisted you with your question.