Skip to main content

Show Warnings


Use Show Warnings to present a validation message when the claim does not meet the requirements for the next submission step.



This screen includes:

#ElementDescription
1Expenses sectionDisplays the claim expense area
2Add new expense actionOpens the expense entry flow
3Next actionValidates the current claim step
4Warning messageStates what the user must correct before continuation
5Ok actionDismisses the warning
6Back actionReturns to the previous claim step

Workflow​

  1. Select Next on the claim form.
  2. Call PUT /api/v3/claims/submit/warnings.
  3. Render the returned warning when validation fails.
  4. Select Ok to close the warning.
  5. Correct the required claim information.
  6. Select Next again.

Validations​

ScenarioApp behaviorSDK output
Claim step contains a validation issueDisplay the applicable warningPage object
No expense existsState that at least one expense is requiredWarning page
Validation requirement is metAllow continuation to the next claim stepClaim flow continues

Actions​

ScenarioApp behaviorSDK output
Next selectedCheck the current claim stepPUT /api/v3/claims/submit/warnings
Ok selectedClose the warningClose action
Add new expense selectedOpen the expense entry flowNavigation event
Back selectedReturn to the previous claim stepNavigation event

Endpoint Resources​

Show Warnings​

PUT 

v3/claims/submit/warnings

Returns the applicable validation warning for the current claim submission step.