{$context->oPage->requireCSSResource('resources/css/workflow-admin.css')}
As documents move through their lifecycle, they are placed in certain states. For example, an invoice which has been mailed might be in the "Pending" state after the "sent" transition has been performed by a user.
{if (empty($workflow_info.states))}This workflow does not define any states.