Access to workflow state in template

OK, so a quick (and maybe dumb) question. How do I get access to the workflow state (id or name) of an item from within a template? Are there system variables or anything set for that?

Bumping thread because I’d like to know the answer to this as well… so far, all I’ve figured out that will work is querying the contentstatus table directly using $db.query.get().

Since standard practice is to publish content in a Public State, the Workflow State is not information available as a binding variable.

Querying the CONTENTSTATUS table directly is the best option for obtaining this data.

RLJII