Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

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: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
kundgir
Highly Voted 2 years, 6 months ago
Should be B. There is no access to event in inbound action
upvoted 14 times
...
Jyoti18
Highly Voted 1 year, 11 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
...
MacGyver4th
Most Recent 2 months, 4 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
4 months, 3 weeks ago
Selected Answer: B
event is deprecated
upvoted 3 times
...
IT4life
6 months, 1 week 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
8 months, 3 weeks ago
Selected Answer: B
event is deprecated in inbound email action
upvoted 3 times
...
_Susan_
1 year, 1 month 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, 1 month 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, 2 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 5 times
...
SergioVSJ
1 year, 3 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, 4 months ago
B and C both are correct.
upvoted 2 times
...
trackstick
1 year, 5 months ago
Selected Answer: B
Current, email
upvoted 1 times
...
JackLopez
1 year, 5 months ago
Selected Answer: B
Correct is B
upvoted 1 times
...
manunarik
1 year, 6 months ago
Answer B is correct
upvoted 1 times
MaxMa
1 year, 5 months ago
Have you finished CAD? Is this dump still valid?
upvoted 3 times
Kristol
1 year, 5 months ago
have you? I'm thinking about today :D
upvoted 1 times
Hmzpkts
6 months ago
what was your experience? was it valid?
upvoted 1 times
Krishireddy
3 months, 1 week ago
fghnjm
upvoted 1 times
...
...
...
...
...
som_420
1 year, 7 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
14006044
1 year, 9 months ago
correct answer is B
upvoted 1 times
...
parcerocarl
1 year, 11 months ago
event is used for Outbount emails, so the correct answer is B
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 ...