-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/GEO-1121-analytics-update
- Loading branch information
Showing
3 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
config: | ||
layout: elk | ||
elk: | ||
nodePlacementStrategy: NETWORK_SIMPLEX | ||
--- | ||
flowchart TD | ||
draft>draft] | ||
published>published] | ||
expired>expired] | ||
archived>archived] | ||
|
||
published --Save as--> published | ||
expired & draft --Save as--> draft & published | ||
published -.On<br>expires_on<br>date.-> expired | ||
draft & published & expired --Archive--> archived | ||
archived & expired -.Scheduled<br>task.-> delete[Delete after 90 days] | ||
published --Unpublish--> draft |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
flowchart TD | ||
start([Admin User]) | ||
|
||
%% Nodes - Actions | ||
active[Publicly available] | ||
email[Send email 14 days before expire_on date] | ||
scheduleExpire[Automatically expire announcement after expire_on date] | ||
scheduleDelete[Automatically delete announcement after 90 days] | ||
|
||
%% Nodes - decisions | ||
choice{Actions} | ||
saveAny{Save As} | ||
saveP{Save As} | ||
|
||
%% Nodes - Data objects | ||
draft>fa:fa-file Draft Announcement] | ||
published>fa:fa-file Published Announcement] | ||
expired>fa:fa-file Expired Announcement] | ||
archive>fa:fa-file Archived Announcement] | ||
|
||
%% New workflow | ||
start --> choice | ||
choice --New--> saveAny | ||
|
||
%% Existing workflows | ||
choice --Edit draft/expired--> saveAny | ||
choice --Edit published--> saveP | ||
choice --Unpublish--> draft | ||
published -.Scheduled task.-> email | ||
|
||
%% Saving workflow | ||
saveAny --Draft--> draft | ||
saveAny & saveP --Publish--> published | ||
published -.After active_on date.-> active | ||
|
||
%% Expire workflows | ||
published -.Scheduled task.-> scheduleExpire | ||
scheduleExpire --> expired | ||
|
||
%% Delete workflows | ||
choice --Archive--> archive | ||
expired & archive -.Scheduled task.-> scheduleDelete |