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 48 discussion

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

A developer needs to configure a calculation procedure to calculate a subtotal using two different formulas depending on whether the input Boolean variable isCustomer is set to true or false.
How should a developer configure the calculation procedure to conditionally execute the correct formula?

  • A. Use a single Calculation Step with an IF statement directly in the formula definition to reference the isCustomer variable and conditionally perform the appropriate calculation.
  • B. Use two separate Calculation Steps with the Conditional Step property selected; reference just the isCustomer variable in the Condition syntax (no comparison necessary).
  • C. Use two separate Calculation Steps with the Conditional Step property selected; use the ISTRUE(isCustomer) and NOT(ISTRUE(isCustomer) functions in the Condition syntax.
  • D. Use two separate Calculation Steps with the Conditional Step property selected; compare the isCustomer variable directly to the literal true and false values in the Condition syntax.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
xambas
1 week ago
Selected Answer: C
It's C
upvoted 1 times
...
ppremy
1 year, 7 months ago
Selected Answer: D
D. Use two separate Calculation Steps with the Conditional Step property selected; compare the isCustomer variable directly to the literal true and false values in the Condition syntax. To conditionally execute the correct formula based on the input Boolean variable, the developer should use two separate Calculation Steps with the Conditional Step property selected. In the Condition syntax of each Calculation Step, the developer should compare the isCustomer variable directly to the literal true and false values. This would allow the developer to conditionally execute the appropriate formula based on the value of the isCustomer variable.
upvoted 1 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 ...