Exam CAD All QuestionsBrowse all questions from this exam
Question 44

What syntax is used in a Record Producer script to access values from Record Producer form fields?

    Correct Answer: B

    In a Record Producer script, the syntax used to access values from Record Producer form fields is 'producer.variablename'. 'Producer' refers to the Record Producer and 'variablename' is the name of the field. This is the correct way to reference values entered by the end user within the context of a Record Producer script.

Discussion
BenojojoOption: B

B is correct - Use producer.*VARIABLE_NAME* to reference values entered by the end user.

DavidJJOption: B

B is correct Use current.*FIELD_NAME* to reference fields on the record being created. Use producer.*VARIABLE_NAME* to reference values entered by the end https://docs.servicenow.com/en-US/bundle/vancouver-servicenow-platform/page/product/service-catalog-management/concept/c_PopulatingRecordData.html

KLASHBHANGEOption: A

Option A is correct as Option B gives data for newly created records not for existing ones

georgeg4Option: B

https://docs.servicenow.com/bundle/vancouver-servicenow-platform/page/product/service-catalog-management/concept/c_PopulatingRecordData.html

pazorischeOption: B

B is correct

vidhya_mouliOption: B

B is the correct answer https://docs.servicenow.com/bundle/vancouver-servicenow-platform/page/product/service-catalog-management/concept/c_PopulatingRecordData.html#:~:text=Use%20producer.*VARIABLE_NAME*%20to%20reference%20values%20entered%20by%20the%20end%20user.

HmzpktsOption: B

B is correct check the SN docs https://docs.servicenow.com/bundle/vancouver-servicenow-platform/page/product/service-catalog-management/concept/c_PopulatingRecordData.html

ravidamarlaOption: B

B is correct

Danny6767Option: A

Option A is correct

AltiaTekOption: B

Right answer is B. /** Use `producer.var1` to access variables*/

51f8ce8Option: B

B is correct

EforExtraOption: B

B is correct

D_Ogi

Both A and B are literally the same depending on the input field name.

sstest2Option: A

A is correct per SDF book

zoro69Option: B

it should be B according to the SN community as well.

LaurysOption: B

B is correct https://docs.servicenow.com/bundle/vancouver-servicenow-platform/page/product/service-catalog-management/concept/c_PopulatingRecordData.html

FOJOption: A

Option A is correct, as said before.