record producer

Mouli Praneeth
Mega Expert


How to access the true/false field in a table from a record producer.

Iam using Yes/No variable in RP but when i change the option to yes in RP it is not getting reflected in the table.

How to do that??

1 ACCEPTED SOLUTION

There is 2 mistakes:




  1. You had a Yes/No type on your record producer, this field has values Yes and No but the checkbox field on your custom table is true/false. These values don't match.
  2. The name of the variable must match with the name of your field. In your case you have name of the field "u_choice" and name of the variable "Choice"


I changed the name of the variable to "u_choice" and the type to checkbox. Now you can test, is working.



Cheers,


Manolis.


View solution in original post

8 REPLIES 8

manolis_sgouros
Kilo Expert

Hello Mouli,



Normally, if your record producer variable has the same name as the technical name of the field in the the table, will work.



For more information, please check the wiki article:


Record Producer - ServiceNow Wiki



Best regards,


Manolis.



No it is not working. i have created a table and for that table i have created a record producer.


My Requirement is :


In table, the field type is True/False and in RP the variable type is Yes/No. So when i select Yes from RP then the field in the table should be automatically checked.


But it is not working like that.


What is the technical name of your field in the table and what is the name of your variable?


same name for both the field and variable.



I m working on demo007a and the record producer name is working. Kindly have a look