--- a/src/pyams_workflow/workflow.py Mon Sep 11 15:09:16 2017 +0200
+++ b/src/pyams_workflow/workflow.py Wed Sep 13 09:34:32 2017 +0200
@@ -88,6 +88,7 @@
published_states=None,
waiting_states=None,
retired_states=None,
+ archived_states=None,
auto_retired_state=None):
self.refresh(transitions)
self.states = states
@@ -99,6 +100,7 @@
self.published_states = set(published_states) if published_states else set()
self.waiting_states = set(waiting_states) if waiting_states else set()
self.retired_states = set(retired_states) if retired_states else set()
+ self.archived_states = set(archived_states) if archived_states else set()
self.auto_retired_state = auto_retired_state
def _register(self, transition):