fixup! Introduce a new script to get the workflow states for a given portal type