exam questions

Exam CAD All Questions

View all questions & answers for the CAD exam

Exam CAD topic 1 question 44 discussion

Actual exam question from ServiceNow's CAD
Question #: 44
Topic #: 1
[All CAD Questions]

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

  • A. producer.field_name
  • B. producer.variablename
  • C. current.variable_name
  • D. current.field_name
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Benojojo
Highly Voted 9 months, 2 weeks ago
B is correct - Use producer.*VARIABLE_NAME* to reference values entered by the end user.
upvoted 7 times
...
Sid97
Most Recent 4 days, 1 hour ago
Selected Answer: C
producer.variable_name - javascript code
upvoted 1 times
...
tenkawa10
2 months ago
Selected Answer: B
From the docs that everyone else linked: Define a script that uses any variable or server-side objects and functions to assign values. Use current.*FIELD_NAME* to reference fields on the record being created. Use producer.*VARIABLE_NAME* to reference values entered by the end user.
upvoted 1 times
...
AltiaTek
5 months, 2 weeks ago
Selected Answer: B
Right answer is B. /** Use `producer.var1` to access variables*/
upvoted 1 times
...
51f8ce8
5 months, 2 weeks ago
B is correct
upvoted 1 times
...
georgeg4
7 months, 1 week ago
Selected Answer: B
https://docs.servicenow.com/bundle/vancouver-servicenow-platform/page/product/service-catalog-management/concept/c_PopulatingRecordData.html
upvoted 2 times
...
EforExtra
7 months, 3 weeks ago
Selected Answer: B
B is correct
upvoted 1 times
...
pazorische
10 months ago
Selected Answer: B
B is correct
upvoted 2 times
...
vidhya_mouli
11 months, 1 week ago
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.
upvoted 2 times
...
D_Ogi
11 months, 2 weeks ago
Both A and B are literally the same depending on the input field name.
upvoted 1 times
...
sstest2
1 year ago
Selected Answer: A
A is correct per SDF book
upvoted 1 times
...
zoro69
1 year, 1 month ago
it should be B according to the SN community as well.
upvoted 1 times
...
Laurys
1 year, 1 month ago
Selected Answer: B
B is correct https://docs.servicenow.com/bundle/vancouver-servicenow-platform/page/product/service-catalog-management/concept/c_PopulatingRecordData.html
upvoted 1 times
...
Hmzpkts
1 year, 2 months ago
B is correct check the SN docs https://docs.servicenow.com/bundle/vancouver-servicenow-platform/page/product/service-catalog-management/concept/c_PopulatingRecordData.html
upvoted 2 times
...
ravidamarla
1 year, 2 months ago
B is correct
upvoted 2 times
...
DavidJJ
1 year, 2 months ago
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
upvoted 3 times
...
FOJ
1 year, 4 months ago
Selected Answer: A
Option A is correct, as said before.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago