The placeholder $adhocState always shows "Draft" instead of the correct state

Description

Using adHocWorkflows 4.2.2 the placeholder $adhocState doesn't work anymore. It always gives back the value "Draft", disregarding the actual state of the page.

Environment

Confluence Version 5.2.3
Ad Hoc Workflow Version 4.2.2
Scroll PDF Exporter Version 3.0.6

Status

Assignee

Unassigned

Reporter

Nils Bier (K15t)

Labels

Participants

None

Deployment

None

Sprint

None

Fix versions

Affects versions

Priority

Major
Configure