# Set Initial Status

#### Source Codes

`ocbc-ecoffice/enrich/set_initial_status/set_initial_status.py`

#### Description

* Create and format a dictionary to be sent to the Status Tracking Studio Plugin to set initial status
    * If `source_type` keyword starts with "WFI", set all `updater` information to `Workbench:SystemAdmin`
    * Else, retrieve and update user's information according to values stored in Redis `user_roles_hash` hash
* `StatusData` Schema:
        ``` py
        document_id: str
        document_name: str
        project_id: str
        source_type: str
        retry_create: bool
        document_type: str | None
        company_name: str | None
        document_date: str | None
        updater: dict[str, list[str]]
        ```
