cm doc workflow pdq_workflow - NCIOCPL/cgov-digital-platform GitHub Wiki

PDQ Workflow Workflow

Back to index

  • ID: pdq_workflow
  • Type: content_moderation

Workflow Diagram

stateDiagram-v2
    %% Color coding for states
    classDef published fill:#0074D9,color:#ffffff,stroke:#004b8c,stroke-width:1px
    classDef unpublished fill:#FF851B,color:#000000,stroke:#cc5500,stroke-width:1px
    classDef publishedDefault fill:#0074D9,color:#ffffff,stroke:#004b8c,stroke-width:6px
    classDef unpublishedDefault fill:#FF851B,color:#000000,stroke:#cc5500,stroke-width:6px
    classDef effectivelyPublished fill:#0074D9,color:#ffffff,stroke:#004b8c,stroke-width:4px,stroke-dasharray:5 5
    classDef startState fill:#4CAF50,color:#ffffff,stroke:#2E7D32,stroke-width:2px
    [*] --> draft
    draft : "Draft"
    published : "Published"
    class draft startState
    draft --> draft : "Create New Draft"
    published --> draft : "Create New Draft"
    draft --> published : "Publish"
    published --> published : "Publish"
    class published publishedDefault
    class draft unpublished
    class draft effectivelyPublished
Loading

Initial State: Draft (draft)

Legend:

  • Published states - Content is visible to all users
  • Unpublished states - Content is not publicly visible
  • / Bold border - Default revision states (content becomes the default revision)
  • Dashed border - Effectively published states (content is available on the website due to workflow path)
  • Green - Initial state for new content

Applied To

Entity Type Bundle
node pdq_cancer_information_summary
node pdq_drug_information_summary

Transitions

Transition ID Label From State To State
create_new_draft Create New Draft draft, published draft
publish Publish draft, published published

Transition Permissions

Transition From → To Content Author Content Editor Image Manager Advanced Editor Blog Manager Layout Manager Site Admin PDQ Importer Admin UI Content Previewer
Create New Draft draft, published → draft
Publish draft, published → published

✅ - Has permission | ❌ - Does not have permission


Generated on: 2025-07-10 12:33:46 EDT

⚠️ **GitHub.com Fallback** ⚠️