> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-worktree-351-fix-webapi-escaped-anchors.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# workflow_goal table

> A set of goals related to a workflow. Some goals will have search criterias associated with it to determine if the goal has been reached.

## workflow\_goal Table (529)

A set of goals related to a workflow. Some goals will have search criterias associated with it to determine if the goal has been reached.

## Fields

| Name                      | Description                            | Type                                                  | Nullable |
| ------------------------- | -------------------------------------- | ----------------------------------------------------- | :------: |
| workflow\_goal\_id        | Primary key                            | PK                                                    |    No    |
| workflow\_id              | The flow this goal belongs to          | FK [workflow](./workflow.mdx)                         |    Yes   |
| goal\_type                | A goal that will conclude the workflow | Enum [WorkflowGoalType](./enums/workflowgoaltype.mdx) |    Yes   |
| registered                | Registered when                        | UtcDateTime                                           |    No    |
| registered\_associate\_id | Registered by whom                     | FK [associate](./associate.mdx)                       |    No    |
| updated                   | Last updated when                      | UtcDateTime                                           |    No    |
| updated\_associate\_id    | Last updated by whom                   | FK [associate](./associate.mdx)                       |    No    |
| updatedCount              | Number of updates made to this record  | UShort                                                |    No    |

<img src="https://mintcdn.com/superofficeas-worktree-351-fix-webapi-escaped-anchors/OTSPuzFctnJmYaEn/media/loc/en/database/tables/workflow_goal.png?fit=max&auto=format&n=OTSPuzFctnJmYaEn&q=85&s=ac277636cf9dacadf3146796f172eab4" alt="workflow_goal table relationship diagram" width="653" height="59" data-path="media/loc/en/database/tables/workflow_goal.png" />

## Indexes

| Fields | Types | Description |
| ------ | ----- | ----------- |

## Relationships

| Table                    | Description                                                        |
| ------------------------ | ------------------------------------------------------------------ |
| [associate](./associate) | Employees, resources and other users - except for External persons |
| [workflow](./workflow)   | SuperOffice specific info about a workflow                         |

## Replication Flags

* None

## Security Flags

* Sentry controls access to items in this table using user's Role and data rights matrix on the table's parent.
