Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 33 discussion

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

An Integration Procedure contains a Remote Action element that calls a method of an APEX class. The method requires two fields as input: AccountId and ProductId. The Integration Procedure data JSON contains the following nodes:

How should the Remote Action element be configured to pass the data correctly to the method?

  • A. Check the DataRaptor Transform checkbox, and add the following Key/Value pairs to Output JSON Path:

    AccountId: %AccountId -
    ProductId: %Details:ProductId%
  • B. Add the following to Send JSON Path: AccountId: %AccountId, ProductId: %Details:ProductId%
  • C. Check the Send Only Additional Input checkbox, and add the following Key/Value pairs to Additional Input:
    AccountId: %AccountId%
    ProductId: %Details:ProductId%
  • D. Set Return Only Additional Output to true, and add the following Key/Value pairs to Additional Input:
    AccountId: %AccountId%
    ProductId: %Details:ProductId%
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
haily244
1 year, 2 months ago
Selected Answer: B
Correct Answer is B
upvoted 1 times
haily244
1 year, 2 months ago
Sorry , meant to post C. Option C is the right answer
upvoted 4 times
...
...
lindem
1 year, 4 months ago
Selected Answer: C
C is Correct answer. We are passing parameter to the Remote Action , So I need to: - Mark Send Only Additional Input - Add Additional Inputs.
upvoted 4 times
...
edeedd
1 year, 4 months ago
Selected Answer: C
Correct answer is C
upvoted 3 times
...
thneeb
1 year, 5 months ago
Selected Answer: C
It is C, but the name is "Send only extra payload". D with the "Only additional output does not exist" B the JSON Path can just trim a json document and not build a new one A you can use a dat raptor, but the named checkbox does not exist. You need to create an explicite data raptor.
upvoted 3 times
...
RahatCaca
1 year, 6 months ago
Selected Answer: D
Correct answer is: D Set Return Only Additional Output to true, and add the following Key/Value pairs to Additional Input: AccountId: %AccountId% ProductId: %Details:ProductId%
upvoted 1 times
...
ppremy
1 year, 6 months ago
Selected Answer: B
The correct option to configure the Remote Action element to pass the data correctly to the method is: B. Add the following to Send JSON Path: AccountId: %AccountId, ProductId: %Details:ProductId% Explanation: The Send JSON Path property of the Remote Action element specifies the JSON data to send to the target system. In this case, the method requires two fields as input: AccountId and ProductId. So the Send JSON Path should include these two fields with their respective values from the Integration Procedure data JSON. The correct syntax to reference the values from the Integration Procedure data JSON is %FieldName%. Therefore, the Send JSON Path should be configured as follows: AccountId: %AccountId%, ProductId: %Details:ProductId%. This will correctly pass the AccountId and ProductId fields to the APEX class method being called by the Remote Action element.
upvoted 3 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 ...