DocumentSuggestionActions
DocumentSuggestionActions
In this article
The document suggestion action creators.
See Dispatch Actions.
Loader Function
loadDocumentSuggestionActions
Loads the document suggestion
reducer and returns possible action creators.
Parameters
-
engine:
CaseAssistEngine
The headless engine.
Returns DocumentSuggestionActionCreators
: The document suggestion action creators.
DocumentSuggestionActionCreators
fetchDocumentSuggestions
Retrieves the document suggestions from the platform. Document suggestions are retrieved based on the case information entered so far.
Returns AsyncThunkAction<FetchDocumentSuggestionsThunkReturn, void, AsyncThunkCaseAssistOptions<StateNeededByFetchDocumentSuggestions>>
: A dispatchable action.