Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Appian Exam ACD101 Topic 5 Question 31 Discussion

Actual exam question for Appian's ACD101 exam
Question #: 31
Topic #: 5
[All ACD101 Questions]

Which code snippet calls the interface APP_RecordDashboard while following best practices for passing in values for "recordId" and "firstName"?

A)

B)

C)

Show Suggested Answer Hide Answer
Suggested Answer: B

The best practice in Appian for passing values into an interface is to use named parameters, which is demonstrated by Option B. Named parameters make the code more readable and maintainable by clearly specifying which parameter each value is being passed to. In this case, the recordId and firstName parameters are clearly being assigned the values 1 and 'Kyle' respectively. Reference:

Appian Documentation: Passing Parameters to Interfaces


Contribute your Thoughts:

Lai
4 days ago
Option B is the obvious choice. Anyone who picks the other options must have been sleeping through the best practices lecture.
upvoted 0 times
...
Garry
5 days ago
I disagree, I believe Option A is the correct choice for passing in values.
upvoted 0 times
...
Trinidad
5 days ago
Option B is the clear winner here. Keeping those parameters separate is just good programming practice.
upvoted 0 times
...
Fausto
9 days ago
I agree, Option B is the way to go. It's more maintainable and easier to read than the other options.
upvoted 0 times
...
Oliva
12 days ago
I think the best practice is to use Option C.
upvoted 0 times
...
Latricia
15 days ago
Option B looks good to me. Passing in the record ID and first name as separate parameters is a cleaner approach.
upvoted 0 times
...

Save Cancel