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 39 discussion

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

Which objects can be used in Inbound Action scripts?

  • A. current and previous
  • B. current and email
  • C. current and event
  • D. current and producer
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
kundgir
Highly Voted 3 years ago
Should be B. There is no access to event in inbound action
upvoted 14 times
...
Jyoti18
Highly Voted 2 years, 5 months ago
Technically both B and C are correct: (function runAction(/*GlideRecord*/ current, /*GlideRecord*/ event, /*EmailWrapper*/ email, /*ScopedEmailLogger*/ logger) { // Implement email action here })(current, event, email, logger);
upvoted 14 times
...
RoadtoCad
Most Recent 2 months, 2 weeks ago
Selected Answer: C
Both B and C are correct: (function runAction(/*GlideRecord*/ current, /*GlideRecord*/ event, /*EmailWrapper*/ email, /*ScopedEmailLogger*/ logger) { // Implement email action here })(current, event, email, logger);
upvoted 1 times
...
MacGyver4th
9 months, 3 weeks ago
I agree that B and C are correct. As Jyoti18 pointed out, the available objects are: current, event, email, logger, classifier) This the function that populates in my Vancouver PDI: (function runAction(/*GlideRecord*/ current, /*GlideRecord*/ event, /*EmailWrapper*/ email, /*ScopedEmailLogger*/ logger, /*EmailClassifier*/ classifier) { // Implement email action here })(current, event, email, logger, classifier);
upvoted 1 times
...
fe91db0
11 months, 2 weeks ago
Selected Answer: B
event is deprecated
upvoted 3 times
...
IT4life
1 year, 1 month ago
You cannot use current and email in Inbound Action scripts. The current and email objects are only available in the context of an inbound email action. The current and previous objects are the only objects available in Inbound Action scripts for the following reasons: (1) The current and previous objects allow you to access the current and previous records in the context of an inbound email action. (2) The current and previous objects are the only objects that contain information about the email message that triggered the inbound email action. (3) The current and previous objects are the only objects that contain information about the records that are associated with the email message that triggered the inbound email action. (4) The current and previous objects are the only objects that contain information about the user who sent the email message that triggered the inbound email action. (5) The current and previous objects are the only objects that contain information about the inbound email action that was triggered by the email message. Therefore, the current and previous objects are the only objects used in Inbound Action scripts for this reason.The correct answer is A
upvoted 1 times
...
Mru9
1 year, 3 months ago
Selected Answer: B
event is deprecated in inbound email action
upvoted 3 times
...
_Susan_
1 year, 8 months ago
B and C are correct: https://docs.servicenow.com/bundle/tokyo-servicenow-platform/page/administer/notification/task/t_CreatingAnInboundEmailAction.html
upvoted 2 times
...
fivani
1 year, 8 months ago
Selected Answer: B
Definitely B - current and email "event" really has no purpose as inbound email actions are always triggered by "email.read".
upvoted 3 times
...
Zolly
1 year, 9 months ago
Utah PDI: When checking System Policy > Email > Inbound Actions and creating new Inbound action The function runAction() Has parameters current,event,email However event is striked and marked as deprecated, thats why B is correct.
upvoted 6 times
...
SergioVSJ
1 year, 10 months ago
Selected Answer: B
Correct answer is B. Event is a parameter of the function, that gives access one of the parameters of the originating event. For example, event.parm1 accesses the first parameter of the event or event.parm2 for the second parameter. Inbound actions are not generated by an event. https://docs.servicenow.com/bundle/tokyo-servicenow-platform/page/administer/notification/task/t_CreatingAnInboundEmailAction.html
upvoted 1 times
...
AR1970
1 year, 11 months ago
B and C both are correct.
upvoted 2 times
...
trackstick
1 year, 11 months ago
Selected Answer: B
Current, email
upvoted 1 times
...
JackLopez
2 years ago
Selected Answer: B
Correct is B
upvoted 1 times
...
manunarik
2 years, 1 month ago
Answer B is correct
upvoted 1 times
MaxMa
2 years ago
Have you finished CAD? Is this dump still valid?
upvoted 3 times
Kristol
2 years ago
have you? I'm thinking about today :D
upvoted 1 times
Hmzpkts
1 year ago
what was your experience? was it valid?
upvoted 1 times
Krishireddy
10 months ago
fghnjm
upvoted 1 times
...
...
...
...
...
som_420
2 years, 1 month ago
Selected Answer: B
B is correct
upvoted 1 times
...
14006044
2 years, 4 months ago
correct answer is B
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 ...