Which object can be used in inbound action scripts?

Prepare for the ServiceNow CAD Exam with comprehensive flashcards and multiple-choice questions. Each query offers hints and explanations. Ensure your success on the exam!

Multiple Choice

Which object can be used in inbound action scripts?

Explanation:
When an inbound action script runs, you’re working in a context tied to a received message. The two objects you can rely on in this context are current, which represents the record being created or updated by the inbound action, and email, which gives you access to the incoming message’s details (subject, body, sender, etc.). The payload object isn’t part of this inbound email action context, as it’s used in other kinds of inbound data scenarios (like REST or data imports). So you can effectively read the email contents and set fields on the target record using current, making current and email the correct pair.

When an inbound action script runs, you’re working in a context tied to a received message. The two objects you can rely on in this context are current, which represents the record being created or updated by the inbound action, and email, which gives you access to the incoming message’s details (subject, body, sender, etc.). The payload object isn’t part of this inbound email action context, as it’s used in other kinds of inbound data scenarios (like REST or data imports). So you can effectively read the email contents and set fields on the target record using current, making current and email the correct pair.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy