Page 1 of 1

Index of a workflow

Posted: Sat Mar 06, 2021 10:43 pm
by james
Hello

I just setup the workflow called approval_workflow as described in the official PDF book and then using the sandbox, I could see that

Code: Select all

{{ document.workflow.approval_workflow.get_current_state }}
shows the current state of the workflow so I though let me see if I can create an index based on that value (Submitted|Approved|Rejected|Archived) but the create index refuses to accept it as a slug.

Where am I going wrong?

James

Re: Index of a workflow

Posted: Sat Mar 06, 2021 10:55 pm
by james
ok found about child nodes