How can I show the workflow state in an ACAD drawing block attribute or SW file custom property?

I would like to show the workflow state on our drawings. I can see workflow state as text on the data card but how do I connect it to a variable that is mapped to a block attribute or custom property?

SolidworksSolidworks Pdm/enterprise Pdm