Index of a workflow

When things don't work as they should.
Post Reply
james
Posts: 10
Joined: Fri Jan 08, 2021 6:15 pm

Index of a workflow

Post 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
james
Posts: 10
Joined: Fri Jan 08, 2021 6:15 pm

Re: Index of a workflow

Post by james »

ok found about child nodes
Post Reply