Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 (?) , you can switch to a simple comment.
Switch to a voting comment New
Benojojo
Highly Voted 8 months, 1 week ago
B is correct - Use producer.*VARIABLE_NAME* to reference values entered by the end user.
upvoted 7 times
...
tenkawa10
Most Recent 3 weeks, 3 days 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
4 months, 1 week ago
Selected Answer: B
Right answer is B. /** Use `producer.var1` to access variables*/
upvoted 1 times
...
51f8ce8
4 months, 1 week ago
B is correct
upvoted 1 times
...
georgeg4
6 months 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
6 months, 2 weeks ago
Selected Answer: B
B is correct
upvoted 1 times
...
pazorische
8 months, 4 weeks ago
Selected Answer: B
B is correct
upvoted 2 times
...
vidhya_mouli
10 months 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
10 months, 1 week ago
Both A and B are literally the same depending on the input field name.
upvoted 1 times
...
sstest2
11 months, 1 week ago
Selected Answer: A
A is correct per SDF book
upvoted 1 times
...
zoro69
1 year ago
it should be B according to the SN community as well.
upvoted 1 times
...
Laurys
1 year 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, 1 month 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, 1 month ago
B is correct
upvoted 2 times
...
DavidJJ
1 year, 1 month 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, 3 months ago
Selected Answer: A
Option A is correct, as said before.
upvoted 1 times
...
Danny6767
1 year, 4 months ago
Selected Answer: A
Option A is correct
upvoted 2 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 ...