> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sarasfinance.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Process Field

> Modify specific fields of an existing business process.

### Body Parameters

<ParamField body="processId" type="string" placeholder="proc_123" required>
  The unique ID of the process to update.
</ParamField>

<ParamField body="subProjectId" type="string" placeholder="sp_123" required>
  The unique identifier for the sub-project.
</ParamField>

<ParamField body="updates" type="object" required>
  A key-value map of the fields to update. Example: `{"productName": "CORE - Custom LLM"}`
</ParamField>

### Response

<ResponseField name="status" type="string">
  Success or failure status message.
</ResponseField>

<RequestExample>
  ```bash theme={null}
  curl --location 'https://api.sarasfinance.com/v1/process/updateProcessField' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer <token>' \
  --data '{
      "processId": "ef341826-1cab-4680-aa52-efd001f9da00",
      "updates": {
          "productName": "CORE - Custom LLM"
      },
      "subProjectId": "93d599a6-a396-4ef6-b30e-aff95c56c523"
  }'
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "status": "success",
    "message": "Process field updated successfully"
  }
  ```
</ResponseExample>

### Error Codes

| Code                                     | ID   | Description                         |
| :--------------------------------------- | :--- | :---------------------------------- |
| `ERROR_PROCESS_ID_NOT_FOUND`             | 1221 | Specified process ID does not exist |
| `ERROR_NOT_ALLOWED_TO_UPDATE`            | 1207 | User unauthorized to update data    |
| `ERROR_UPDATING_PROCESS_FIELDS`          | 1224 | Internal error during field update  |
| `ERROR_PROCESS_UNKNOWN_FIELD_IN_REQUEST` | 1231 | Invalid field name in request       |
| `ERROR_PROCESS_INVALID_FIELD_VALUE`      | 1232 | Invalid value provided for field    |
| `ERROR_RBAC_SETTINGS_MISSING`            | 1203 | RBAC configuration missing          |
