CaseContextActions

This is for:

Developer

The case context action creators.

Loader Function

loadCaseContextActions

Loads the case context reducer and returns possible action creators.

Parameters

  • engine: CoreEngine

    The headless engine.

Returns CaseContextActionCreators: The case context action creators.

CaseContextActionCreators

setCaseContext

Sets the case context.

Parameters

  • payload: Record<string, string>

    The action creator payload.

Returns PayloadAction<Record<string, string>>: A dispatchable action.

setCaseId

Sets the case id.

Parameters

  • payload: string

    The action creator payload.

Returns PayloadAction<string>: A dispatchable action.

setCaseNumber

Sets the case number.

Parameters

  • payload: string

    The action creator payload.

Returns PayloadAction<string>: A dispatchable action.