MacroHealth Internal

Retrieve Single Case

Looks up a single case from the persistence system by its ID.

Widget
RetrieveSingleCase.png
Configuration
RetieveSingleCase_Config.png
  1. Fill in the following fields:

    • Description: Allows changing the name that appears on the widget. This may be useful to quickly find a particular widget or distinguishing it from other similar shovel operation widgets when building large flows.

      Description.png
    • Shovel Operation: The name of the Shovel Operation. Pre-configured to RetrieveSingleCase.

    • caseType: The case type to retrieve. (See Section : “CaseTypes, DocTypes, and Status Events)

    • caseId: The ID of the case to retrieve.

      Example:

      atFieldRead(fieldReference("builtin:document/caseId"),readField(fieldReference("builtin:key/data")))
    • documentName: The name of the document in the runtime context that will contain the result of the operation.

  2. If necessary, click the Notes tab and enter any relevant information.

    NotesTab.jpg
  3. Click Save.

    RetrieveSingleCaseSave.png
  4. The widget will be marked with a green check.

    RetrieveSingleCaseGC.png