THIS IS ARCHIVED DOCUMENTATION

CaseContextActions (Deprecated)

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.