23.2.2. How to configure this feature?

The workflow service can be configured by editing the portal:service=ApprovePublish,type=Workflow mbean found in portal-cms.sar/META-INF/jboss-service.xml.
<!-- ApprovePublish workflow service -->
      <depends optional-attribute-name="WorkflowService" proxy-type="attribute">
      <depends optional-attribute-name="IdentityServiceController" proxy-type="attribute">
      <!-- JBPM process definition -->
      <attribute name="Process">
         <!-- cms approval workflow -->
         <process-definition name="approval_workflow">
               <transition to="request_approval"/>
            <task-node name="request_approval" signal="first">
               <task name="approve_publish">
                  <assignment class="org.jboss.portal.cms.workflow.PublishAssignmentHandler"/>
                  <event type="task-start">
                     <action class="org.jboss.portal.cms.workflow.FinalizePublish"/>
                     <action class="org.jboss.portal.cms.workflow.TaskExceptionHandler"/>
               <transition name="approval" to="end"/>
               <transition name="rejection" to="end"/>
            <end-state name="end"/>
         overwrite = false creates the process first time if does not exist, for
         subsequent server restarts, this process definition remains in tact

         overwrite = true creates the process first time if does not exist,
         for subsequent server restarts, it creates a new version of the process definition
         which will be used for processes created from then onwards. Old processes created
         for an older version of the definition remain in tact and use their corresponding
         process definition.

         Typically use overwrite=false and overwrite=true only when a new process definition
         related to this workflow needs to be deployed
      <attribute name="Overwrite">false</attribute>
         A comma separated list of portal roles that are designated
         to act as workflow managers. They are allowed to
         approve/reject content publish requests
      <attribute name="ManagerRoles">Admin</attribute>
      <attribute name="JNDIName">java:portal/ApprovePublishWorkflow</attribute>
Of note in this configuration are the Process and ManagerRoles attributes. The Process attribute is used to provide the jBPM process definition to be followed by the workflow service during the approval process. This follows the standard jBPM syntax for process definition. ManagerRoles, on the other hand, is a comma-delimited list of user roles that are being marked as "managers" who can approve the publication of CMS documents.