diff --git a/backoffice/backoffice/workflows/documents.py b/backoffice/backoffice/workflows/documents.py index 62e2aa06..862b6e3a 100644 --- a/backoffice/backoffice/workflows/documents.py +++ b/backoffice/backoffice/workflows/documents.py @@ -31,6 +31,14 @@ class WorkflowDocument(Document): ), } ) + + decisions = fields.NestedField( + properties={ + "action": fields.TextField(), + "user": fields.ObjectField(properties={"email": fields.TextField()}), + } + ) + status = fields.KeywordField() is_update = fields.BooleanField()