demisto.results() function: This is used to return results from the script, not for logging debug messages.
The demisto.debug() function is specifically designed for logging debug messages in Cortex XSOAR automations.
D
Printing to the War Room#
Let's face it, a mountain of print statements are often useful in figuring out what the issue is. To do this, simply add the following:
error_msg = "Here's your completely broken code"
demisto.results(error_msg)
This will print the statement in the War Room, where you will be able to see it. Just remember to remove these statements so you can maintain the illusion of your bug never happening.
https://xsoar.pan.dev/docs/integrations/debugging
Answer should be D, you may see an error message with demisto.results() function.
For instance:
you may create a variable, myautomationmessage="This is an error msg", then I can return it via results command, demisto.results(myautomationmessage)
upvoted 1 times
...
This section is not available anymore. Please use the main Exam Page.PCSAE Exam Questions
Log in to ExamTopics
Sign in:
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.
Jai_ke
8 months, 1 week agoheromanxxx
12 months agopiipo
1 year, 1 month agoIceman1
1 year, 8 months agoSarppp
1 year, 8 months ago