Added hasWorkflowState for indexing refs #16693
Merge branch 'master' of https://github.com/eea/eea.elasticsearch