Question 13 — AB-620 Case Study Set
Paideffort currently uses the following submit action on the leave request card. The original form, retry form, and confirmation card can all remain accessible in the employee's conversation.
{
"type": "Action.Submit",
"title": "Submit request"
}
What is missing from this implementation for Paideffort's response-correlation requirement? (Select one answer)
Add a data object containing a unique submit identifier and validate that identifier when the response is handled.
Add an isRequired property to Action.Submit so employees can't select buttons from older cards in the conversation.
Add a choices property to Action.Submit containing the identifiers of every card currently displayed to the employee.
Add an isMultiline property to Action.Submit so the full card identity can be transmitted with the submitted response.
Correct answers
Add a data object containing a unique submit identifier and validate that identifier when the response is handled.
Explanations
Correct Answer:
Add a data object containing a unique submit identifier and validate that identifier when the response is handled.
Explanation:
Paideffort can have multiple actionable cards in the same conversation. The current submit action contains only a button title, so it doesn't provide a distinct machine-readable identifier for the original request, retry, or confirmation action. Adding a unique value in the action's data payload and validating it during processing provides the required correlation.
Wrong Answers:
Add an isRequired property to Action.Submit so employees can't select buttons from older cards in the conversation.
Required validation applies to appropriate card inputs rather than serving as a mechanism for identifying which historical card submitted a response.
Add a choices property to Action.Submit containing the identifiers of every card currently displayed to the employee.
A ChoiceSet uses choices for selectable values. Paideffort needs the submit action itself to carry an identifier that processing logic can validate.
Add an isMultiline property to Action.Submit so the full card identity can be transmitted with the submitted response.
Multiline behavior applies to text input presentation and doesn't provide response correlation for multiple submitted cards.