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);
Both B and C are correct:
(function runAction(/*GlideRecord*/ current, /*GlideRecord*/ event, /*EmailWrapper*/ email, /*ScopedEmailLogger*/ logger) {
// Implement email action here
})(current, event, email, logger);
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);
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
B and C are correct: https://docs.servicenow.com/bundle/tokyo-servicenow-platform/page/administer/notification/task/t_CreatingAnInboundEmailAction.html
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.
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
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.
kundgir
Highly Voted 3 years agoJyoti18
Highly Voted 2 years, 5 months agoRoadtoCad
Most Recent 2 months, 2 weeks agoMacGyver4th
9 months, 3 weeks agofe91db0
11 months, 2 weeks agoIT4life
1 year, 1 month agoMru9
1 year, 3 months ago_Susan_
1 year, 8 months agofivani
1 year, 8 months agoZolly
1 year, 9 months agoSergioVSJ
1 year, 10 months agoAR1970
1 year, 11 months agotrackstick
1 year, 11 months agoJackLopez
2 years agomanunarik
2 years, 1 month agoMaxMa
2 years agoKristol
2 years agoHmzpkts
1 year agoKrishireddy
10 months agosom_420
2 years, 1 month ago14006044
2 years, 4 months ago