collective.multiworkflow.vocabularies.workflow

collective.multiworkflow.vocabularies.workflow#

Vocabulary for workflow states duration range filtering.

class collective.multiworkflow.vocabularies.workflow.WorkflowStatesVocabulary[source]#

Every state of every workflow, keyed as the index holds them.

A class rather than a @provider-decorated function because zope.interface's stubs type that decorator for classes only; the module-level instance below keeps the ZCML registration unchanged.

collective.multiworkflow.vocabularies.workflow.workflow_states = <collective.multiworkflow.vocabularies.workflow.WorkflowStatesVocabulary object>#

The name configure.zcml registers as the vocabulary utility.