exam questions

Exam Certified OmniStudio Developer All Questions

View all questions & answers for the Certified OmniStudio Developer exam

Exam Certified OmniStudio Developer topic 1 question 72 discussion

Actual exam question from Salesforce's Certified OmniStudio Developer
Question #: 72
Topic #: 1
[All Certified OmniStudio Developer Questions]

A developer needs to use the COUNTIF function to process data entered by the user in an OmniScript. The output of the function needs to be displayed to the user immediately in the current step.

Based on best practice, what element should the developer use this function in?

  • A. A Set Values element
  • B. A Range element
  • C. A Formula element
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ppremy
3 months, 3 weeks ago
Selected Answer: C
The developer should use a Formula element to use the COUNTIF function in an OmniScript. The Formula element is designed to evaluate a formula or expression and return a result. It can be used to perform calculations, manipulate data, or evaluate logical expressions. In this case, the COUNTIF function can be used in the Formula element to process data entered by the user and return a result that can be displayed to the user immediately in the current step. A Set Values element is used to set the value of a field or variable to a specified value, and it is not designed to evaluate formulas or expressions. A Range element is used to specify a range of values for a field or variable, and it is not designed to evaluate formulas or expressions. Therefore, the best practice for using the COUNTIF function in an OmniScript would be to use it in a Formula element.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago