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

Editorial Workflow Workflow

Back to index

  • ID: editorial_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"
    review : "Review"
    published : "Published"
    editing : "Editing"
    post_publication_review : "Post-Publication Review"
    archive_requested : "Archive Requested"
    archived : "Archived"
    class draft startState
    draft --> draft : "Back To Draft"
    review --> draft : "Back To Draft"
    draft --> review : "Submit for Review"
    review --> published : "Publish"
    draft --> published : "Quick Publish"
    published --> editing : "Revise Published Content"
    editing --> post_publication_review : "Submit for Review"
    editing --> editing : "Back To Editing"
    post_publication_review --> editing : "Back To Editing"
    post_publication_review --> published : "Publish"
    editing --> published : "Quick Publish"
    published --> archive_requested : "Request Archive"
    archive_requested --> archived : "Approve Archive Request"
    archive_requested --> published : "Reject Archive Request"
    archived --> draft : "Resurrect Archived Content"
    class published publishedDefault
    class archived unpublishedDefault
    class draft,review,editing,post_publication_review,archive_requested unpublished
    class editing,archive_requested,post_publication_review 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 cgov_application_page
node cgov_article
node cgov_biography
node cgov_blog_post
node cgov_blog_series
node cgov_cancer_center
node cgov_cancer_research
node cgov_cthp
node cgov_event
node cgov_home_landing
node cgov_mini_landing
node cgov_press_release
media cgov_file
media cgov_infographic
media cgov_video

Transitions

Transition ID Label From State To State
back_to_draft Back To Draft draft, review draft
request_review Submit for Review draft review
publish Publish review published
quick_publish Quick Publish draft published
revise Revise Published Content published editing
request_review_pub Submit for Review editing post_publication_review
back_to_editing Back To Editing editing, post_publication_review editing
approve Publish post_publication_review published
quick_publish_replace Quick Publish editing published
request_archive Request Archive published archive_requested
approve_archive Approve Archive Request archive_requested archived
reject_archive Reject Archive Request archive_requested published
resurrect_archived_content Resurrect Archived Content archived draft

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
Back To Draft draft, review → draft
Submit for Review draft → review
Publish review → published
Quick Publish draft → published
Revise Published Content published → editing
Submit for Review editing → post_publication_review
Back To Editing editing, post_publication_review → editing
Publish post_publication_review → published
Quick Publish editing → published
Request Archive published → archive_requested
Approve Archive Request archive_requested → archived
Reject Archive Request archive_requested → published
Resurrect Archived Content archived → draft

✅ - Has permission | ❌ - Does not have permission


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

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