PJGATE: Project Gate
The PJGATE entity represents a gate evaluation instance recording the results of a governance checkpoint applied to a specific project.
Default definition. This article describes the default
PJGATE definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches PJGATE.Entity properties
| Property | Value |
|---|---|
| Entity code | PJGATE |
| Display name | Project Gate |
| Plural | Project Gates |
| Level | 488 |
Use cases
PJGATE records are children of PJ (comboKey format SUB|PJ). Each record represents one gate template being evaluated against a project. The results JSON property contains the item-by-item evaluation snapshot. The attempts JSON array stores previous evaluation runs for audit trail and re-evaluation history. Created and updated by the runGateReview toolbar function on PJ. Status transitions: Pending (initial), Failed (checks not met), Passed (all mandatory checks pass), Overridden (mandatory failures overridden by authorised user with justification).
Fields
Gate Result
| Field | Type | Required | Notes |
|---|---|---|---|
name | text | Gate Name. Read-only. | |
templateName | text | Template. Read-only. | |
templateId | text | Template ID. Read-only. | |
status | enum | Status. Valid ids: Pending (Pending), Passed (Passed), Failed (Failed), Overridden (Overridden). | |
score | number | Score (%). Read-only. | |
requestedBy | reference → user | Requested By. Read-only. | |
requestedDate | date | Requested Date. Read-only. | |
approvedBy | reference → user | Approved By. Read-only. | |
approvedDate | date | Approved Date. Read-only. | |
overrideJustification | text (multi-line) | Override Justification. Read-only. |
Relationships
- Embedded arrays:
array,array. Each entry is a sub-record stored inline on this object.
Creating a Project Gate via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "PJGATE",
"level": 488,
"comboKey": "SUB:<your-sub-id>|ENT:",
"name": "Example"
}
Listing PJGATE records
# All project gates in your tenant
GET /v1/entities/PJGATE/SUB